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 d8fd65f commit 338e8d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
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 config --global user.name 'GitHub Actions Bot'
git config --global user.email '<>'
git tag -a $new_release -m "Release $new_release"
git push origin $new_release
echo "::set-output name=new_release::$new_release"
Expand Down

0 comments on commit 338e8d9

Please sign in to comment.