Skip to content

Commit

Permalink
update release workflow template (#112)
Browse files Browse the repository at this point in the history
Signed-off-by: Masaya Kataoka <[email protected]>
  • Loading branch information
hakuturu583 authored Sep 10, 2021
1 parent 1c772a0 commit a8663e3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions workflow_templates/Release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:
inputs:
version:
description: 'version'
required: true
required: false
default: bump

jobs:
Release:
Expand All @@ -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:
Expand Down

0 comments on commit a8663e3

Please sign in to comment.