Compare commits
1 commit
master
...
upload-to-
Author | SHA1 | Date | |
---|---|---|---|
|
0766144df8 |
10
.github/workflows/release_publish-package.yml
vendored
10
.github/workflows/release_publish-package.yml
vendored
|
@ -6,6 +6,10 @@ on:
|
||||||
types:
|
types:
|
||||||
- prereleased
|
- prereleased
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
# Use write for: hub release edit
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -43,8 +47,8 @@ jobs:
|
||||||
run: make release
|
run: make release
|
||||||
|
|
||||||
- name: Upload to release
|
- name: Upload to release
|
||||||
uses: JasonEtco/upload-to-release@master
|
|
||||||
with:
|
|
||||||
args: crowdsec-release.tgz application/x-gzip
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
run: |
|
||||||
|
tag_name="${GITHUB_REF##*/}"
|
||||||
|
hub release edit -a crowdsec-release.tgz -m "" "$tag_name"
|
||||||
|
|
Loading…
Reference in a new issue