Skip to content

Commit

Permalink
fix: changelog script
Browse files Browse the repository at this point in the history
  • Loading branch information
azrod committed Feb 14, 2024
1 parent e4a8406 commit 257d92c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/changelog/generate-changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ __root="$(dirname "$__parent")"
CHANGELOG_FILE_NAME="CHANGELOG.md"
CHANGELOG_TMP_FILE_NAME="CHANGELOG.tmp"
TARGET_SHA=$(git rev-parse HEAD)
PREVIOUS_RELEASE_TAG=$(git describe --abbrev=0 --match='v*.*.*' --tags)
PREVIOUS_RELEASE_TAG=$(git tag -l | grep -E 'v[0-9]+.[0-9]+.[0-9]+$' | tail -n 1)
PREVIOUS_RELEASE_SHA=$(git rev-list -n 1 $PREVIOUS_RELEASE_TAG)

if [ $TARGET_SHA == $PREVIOUS_RELEASE_SHA ]; then
Expand Down

0 comments on commit 257d92c

Please sign in to comment.