Skip to content

Commit 63edf3f

Browse files
authoredJun 30, 2024
[release] remove redundant variable PREVIOUS_TAG (#26)
1 parent 5881405 commit 63edf3f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎.github/workflows/release.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,7 @@ jobs:
116116
NEW_TAG=${{ env.NEW_TAG }}
117117
SHA256_HASH=${{ env.SHA256_HASH }}
118118
119-
PREVIOUS_TAG=$(git rev-list -n 1 ${LATEST_TAG})
120-
CHANGE_LOG=$(git --no-pager log ${PREVIOUS_TAG}..HEAD --pretty=format:'%h - %an, %ar : %s')
119+
CHANGE_LOG=$(git --no-pager log ${LATEST_TAG}..HEAD --pretty=format:'%h - %an, %ar : %s')
121120
122121
# Define the release notes template
123122
RELEASE_NOTES=$(cat <<EOF

0 commit comments

Comments
 (0)