-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update release workflow template (#112)
Signed-off-by: Masaya Kataoka <[email protected]>
- Loading branch information
1 parent
1c772a0
commit a8663e3
Showing
1 changed file
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,8 @@ on: | |
inputs: | ||
version: | ||
description: 'version' | ||
required: true | ||
required: false | ||
default: bump | ||
|
||
jobs: | ||
Release: | ||
|
@@ -27,9 +28,14 @@ jobs: | |
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "wam-v-tan" | ||
- name: prepare release | ||
- name: prepare release with specific version | ||
if: ${{ github.event.inputs.version }} != bump | ||
run: | | ||
catkin_prepare_release --version ${{ github.event.inputs.version }} -y --no-push | ||
- name: prepare release by bump up | ||
if: ${{ github.event.inputs.version }} == bump | ||
run: | | ||
catkin_prepare_release -y --no-push | ||
- name: create a GitHub release | ||
uses: actions/create-release@v1 | ||
env: | ||
|