Skip to content

Commit e392437

Browse files
authored
update release process (#14)
1 parent 963bc18 commit e392437

File tree

3 files changed

+34
-10
lines changed

3 files changed

+34
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
# Changelog
22

3-
## 0.1.0 (2022-05-02)
3+
Changelogs for each release are located on the [releases page](https://github.com/google-github-actions/ssh-compute/releases).
44

5-
6-
### Features
7-
8-
* init ssh action([#1](https://www.github.com/google-github-actions/ssh-compute/issues/1)) ([1745884](https://www.github.com/google-github-actions/ssh-compute/commit/1745884604d96be23efd1a7c36ea688af887a2ea))
9-
10-
11-
### Bug Fixes
12-
13-
* update eols in unit tests and readme ([c8e3d57](https://www.github.com/google-github-actions/ssh-compute/commit/c8e3d574293a63ffb804093f1477be25fefd909d))

draft-release.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: 'Draft release'
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
version_strategy:
7+
description: 'Version strategy: The strategy to used to update the version based on semantic versioning (more info at https://semver.org/).'
8+
required: true
9+
default: 'patch'
10+
type: 'choice'
11+
options:
12+
- 'major'
13+
- 'minor'
14+
- 'patch'
15+
16+
jobs:
17+
draft-release:
18+
name: 'Draft release'
19+
uses: 'google-github-actions/.github/.github/workflows/draft-release.yml@v0'
20+
with:
21+
version_strategy: '${{ github.event.inputs.version_strategy }}'

release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: 'Release'
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
8+
jobs:
9+
release:
10+
if: "startsWith(github.event.head_commit.message, 'Release: v')"
11+
name: 'Release'
12+
uses: 'google-github-actions/.github/.github/workflows/release.yml@v0'

0 commit comments

Comments
 (0)