Skip to content

Commit fcee153

Browse files
Merge pull request #34 from vk-or/maintenance/add-attestation-on-release-notes
Update filename
2 parents f950711 + 9b0b1b2 commit fcee153

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/release.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ jobs:
7373
env:
7474
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7575
run: |
76-
gh release view "${{ github.ref_name }}" --json body -q '.body' --repo "${{ github.repository }}" > new-release-notes.md
77-
echo "" >> new-release-notes.md
78-
echo "## Attestation" >> new-release-notes.md
79-
echo "" >> new-release-notes.md
80-
echo "Build provenance attestation: [View attestation](${{ steps.attest.outputs.attestation-url }})" >> new-release-notes.md
81-
echo "" >> new-release-notes.md
82-
echo "Verify the artifacts by running:" >> new-release-notes.md
83-
echo "\`\`\`bash" >> new-release-notes.md
84-
echo "gh attestation verify <artifact-file> --repo ${{ github.repository }}" >> new-release-notes.md
85-
echo "\`\`\`" >> new-release-notes.md
86-
gh release edit "${{ github.ref_name }}" --notes-file new-release-notes.md --repo "${{ github.repository }}"
76+
gh release view "${{ github.ref_name }}" --json body -q '.body' --repo "${{ github.repository }}" > release-notes-with-attestation.md
77+
echo "" >> release-notes-with-attestation.md
78+
echo "## Attestation" >> release-notes-with-attestation.md
79+
echo "" >> release-notes-with-attestation.md
80+
echo "Built provenance attestation: [View attestation](${{ steps.attest.outputs.attestation-url }})" >> release-notes-with-attestation.md
81+
echo "" >> release-notes-with-attestation.md
82+
echo "Verify the artifacts by running:" >> release-notes-with-attestation.md
83+
echo "\`\`\`bash" >> release-notes-with-attestation.md
84+
echo "gh attestation verify <artifact-file> --repo ${{ github.repository }}" >> release-notes-with-attestation.md
85+
echo "\`\`\`" >> release-notes-with-attestation.md
86+
gh release edit "${{ github.ref_name }}" --notes-file release-notes-with-attestation.md --repo "${{ github.repository }}"

0 commit comments

Comments
 (0)