Skip to content

Commit

Permalink
way to update release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmadhankumar committed Dec 27, 2023
1 parent 84e51f7 commit 35fee16
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,25 +118,8 @@ jobs:
)
- run: |
gh release edit v0.0.12 --notes "fsjvbhe
### new nsflvjkhedjfkjlk; checksums file signature
The checksums file provided within the artifacts attached to this release is signed using [Cosign](https://docs.sigstore.dev/cosign/overview/) with GitHub OIDC. To validate the signature of this file, run the following commands:
```shell
# Download the checksums file, certificate and signature
curl -LO https://github.com/{{ .Env.GITHUB_REPOSITORY }}/releases/download/{{ .Tag }}/checksums.txt
curl -LO https://github.com/{{ .Env.GITHUB_REPOSITORY }}/releases/download/{{ .Tag }}/checksums.txt.pem
curl -LO https://github.com/{{ .Env.GITHUB_REPOSITORY }}/releases/download/{{ .Tag }}/checksums.txt.sig
# Verify the checksums file
cosign verify-blob checksums.txt \
--certificate checksums.txt.pem \
--signature checksums.txt.sig \
--certificate-identity-regexp=https://github.com/{{ .Env.GITHUB_REPOSITORY_OWNER }} \
--certificate-oidc-issuer=https://token.actions.githubusercontent.com
```
"
VERSION=`echo ${{ github.ref }} | grep -Eo '[0-9].*'`
gh release edit "$VERSION" --notes "fsjvbhe"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OWNER: ${{ github.repository_owner }}
Expand Down

0 comments on commit 35fee16

Please sign in to comment.