From febd9d79deef490879adfe976dc039c960eaa288 Mon Sep 17 00:00:00 2001 From: Ilan Uzan Date: Sun, 30 Jun 2024 15:26:59 +0300 Subject: [PATCH] [release] remove redundant variable PREVIOUS_TAG --- .github/workflows/release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a852faa..7be2626 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -116,8 +116,7 @@ jobs: NEW_TAG=${{ env.NEW_TAG }} SHA256_HASH=${{ env.SHA256_HASH }} - PREVIOUS_TAG=$(git rev-list -n 1 ${LATEST_TAG}) - CHANGE_LOG=$(git --no-pager log ${PREVIOUS_TAG}..HEAD --pretty=format:'%h - %an, %ar : %s') + CHANGE_LOG=$(git --no-pager log ${LATEST_TAG}..HEAD --pretty=format:'%h - %an, %ar : %s') # Define the release notes template RELEASE_NOTES=$(cat <