Skip to content

Commit c7223ff

Browse files
committed
fix(ci): at attestation for release artifacts
1 parent b3c3c8b commit c7223ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ jobs:
4949
env:
5050
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5151
run: |
52-
gh release view ${{ github.event.inputs.version }} --json body -q '.body' > new-release-notes.md
52+
gh release view ${{ steps.release.outputs.tag_name }} --json body -q '.body' > new-release-notes.md
5353
echo "## Attestation" >> new-release-notes.md
5454
echo "Attestation url: ${{ steps.attest.outputs.attestation-url }}" >> new-release-notes.md
5555
echo "You can verify the artifacts by running \`gh attest verify <name of artifact> --repo npalm/atterstation-test\`" >> new-release-notes.md
56-
gh release edit ${{ github.event.inputs.version }} -F new-release-notes.md -t ${{ github.event.inputs.version }}
56+
gh release edit ${{ steps.release.outputs.tag_name }} -F new-release-notes.md -t ${{ steps.release.outputs.tag_name }}
5757
- name: Upload Release Assets
5858
if: ${{ steps.release.outputs.releases_created == 'true' }}
5959
env:

0 commit comments

Comments
 (0)