add token
This commit is contained in:
parent
02972e622f
commit
e813ef68cb
1 changed files with 4 additions and 2 deletions
6
.github/workflows/release.yaml
vendored
6
.github/workflows/release.yaml
vendored
|
|
@ -62,10 +62,12 @@ jobs:
|
|||
version: latest
|
||||
args: release --clean --skip-publish
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
SKIP_PUSH: ${{ github.event_name != 'release' }}
|
||||
GORELEASER_CURRENT_TAG: v${{ env.NBGV_SimpleVersion }}
|
||||
|
||||
- run: |
|
||||
- name: create release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
awk '{print "dist/"$2}' dist/checksums.txt | xargs gh release create -d --generate-notes v$NBGV_SimpleVersion dist/checksums.txt
|
||||
gh release list | grep Draft | tail -n +3 | cut -f 1 | xargs -r -L 1 gh release delete --yes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue