Skip to content

Commit

Permalink
feat(github-actions): enhance script to handle initial release tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
godcong committed Jul 10, 2024
1 parent 4457313 commit a6042f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tag_after_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ jobs:
LATEST_RELEASE=${{ steps.get_latest_release.outputs.LATEST_RELEASE }}
if [[ -n "$LATEST_RELEASE" ]]; then
# If there's no previous release, get only the current commit's log
git config --global core.pager cat
# git log --pretty=format:"* %s (%an, %ar)"
CHANGELOG=$(git log --pretty=format:"* %s (%an, %ar)")
echo "CHANGELOG=$CHANGELOG" >> $GITHUB_OUTPUT
else
Expand Down

0 comments on commit a6042f4

Please sign in to comment.