Skip to content

Commit

Permalink
Update auto-release.yml
Browse files Browse the repository at this point in the history
#new-release -> <new-release:0.0.2>
  • Loading branch information
ucatbas authored Jul 16, 2024
1 parent cdef7b6 commit d8fd65f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
id: check_message
run: |
if git log --format=%B -n 1 | grep -q '#new-release'; then
latest_release=$(git describe --tags --abbrev=0)
latest_release=$(git describe --tags --always --abbrev=0)
new_release=$(echo $latest_release | awk -F. '{$NF = $NF + 1;} 1' OFS=.)
echo "Creating release $new_release"
git tag -a $new_release -m "Release $new_release"
Expand Down

0 comments on commit d8fd65f

Please sign in to comment.