You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chainloop_release_url="## Chainloop Attestation"$'\n'"[View the attestation of this release](https://app.chainloop.dev/attestation/${{ steps.attestation-push.outputs.attestation_sha }})"
94
94
current_notes=$(gh release view ${{ github.ref_name }} --json body -q '.body')
95
-
95
+
96
96
if echo "$current_notes" | grep -q "## Chainloop Attestation"; then
97
97
# Replace the existing Chainloop Attestation section with the new URL
98
98
modified_notes=$(echo "$current_notes" | sed -E "s|## Chainloop Attestation[^\n]*\n\[View the attestation of this release\]\(https://app\.chainloop\.dev/attestation/[^\)]*\)|$chainloop_release_url|")
99
99
else
100
100
# Add the Chainloop Attestation section to the top
0 commit comments