Skip to content

Commit b10b2cc

Browse files
authored
fix(release-notes): Passes correctly the attestation hash to release notes (#1857)
Signed-off-by: Javier Rodriguez <[email protected]>
1 parent d704c81 commit b10b2cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,9 @@ jobs:
186186
if: ${{ success() }}
187187
env:
188188
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
189+
ATTESTATION_SHA: ${{ needs.finish_attestation.outputs.attestation_hash }}
189190
run: |
190-
chainloop_release_url="## Chainloop Attestation"$'\n'"[View the attestation of this release](https://app.chainloop.dev/attestation/${{ needs.finish_attestation.outputs.attestation_hash }})"
191+
chainloop_release_url="## Chainloop Attestation"$'\n'"[View the attestation of this release](https://app.chainloop.dev/attestation/${{ env.ATTESTATION_SHA }})"
191192
current_notes=$(gh release view ${{github.ref_name}} --json body -q '.body')
192193
193194
if echo "$current_notes" | grep -q "## Chainloop Attestation"; then

0 commit comments

Comments
 (0)