Skip to content

Commit

Permalink
Merge pull request #18 from EdgePi-Cloud/dev-auto-versioning
Browse files Browse the repository at this point in the history
update versioning trigger message
  • Loading branch information
jimmy121192 authored Jan 15, 2024
2 parents 4b39f6e + 0913093 commit 3a3c2b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/versioning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
- name: Get version type
id: version_type
run: |
if [[ ${{ contains(toJSON(github.event.head_commit.message), 'major') }} == true ]]; then
if [[ ${{ contains(toJSON(github.event.head_commit.message), 'bump_major') }} == true ]]; then
echo "VERSION_TYPE=major" >> $GITHUB_OUTPUT
elif [[ ${{ contains(toJSON(github.event.head_commit.message), 'minor') }} == true ]]; then
elif [[ ${{ contains(toJSON(github.event.head_commit.message), 'bump_minor') }} == true ]]; then
echo "VERSION_TYPE=minor" >> $GITHUB_OUTPUT
else
echo "VERSION_TYPE=patch" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 3a3c2b1

Please sign in to comment.