Skip to content

Commit

Permalink
chore: better tag commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielMusatMestre committed Sep 29, 2022
1 parent bd77a93 commit 121bd7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
tag:
if: github.event.head_commit.message != 'tag'
if: ${{ !startsWith(github.event.head_commit.message, 'tag') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
git config --global user.email "gabimtme@gmail.com"
git config --global user.name "Automatic bumper"
git add .
git commit -m "tag"
git commit -m "tag: v$version"
git tag "v$version"
git push
git push --tags
Expand Down

0 comments on commit 121bd7d

Please sign in to comment.