Skip to content

Commit 2b986cf

Browse files
fix: always set NEW_SHA in the release workflow's GITHUB_ENV for downstream steps.
1 parent b8ff43b commit 2b986cf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ jobs:
8787
echo "NEW_SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV
8888
else
8989
echo "Version matches. Proceeding..."
90+
# Still set NEW_SHA for downstream steps that may reference it
91+
echo "NEW_SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV
9092
fi
9193
9294
- name: Re-checkout amended commit

0 commit comments

Comments
 (0)