Use unique tag name for releases
This commit is contained in:
parent
03a627998d
commit
f3b3610895
1 changed files with 5 additions and 1 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -98,6 +98,10 @@ jobs:
|
||||||
name: ffmpeg
|
name: ffmpeg
|
||||||
path: artifacts
|
path: artifacts
|
||||||
- name: Create release
|
- name: Create release
|
||||||
run: hub release create $(for a in artifacts/*; do echo -a $a; done) -m "Auto-Build $(date +'%Y-%m-%d %H:%M')" "${GITHUB_REF##*/}"
|
run: |
|
||||||
|
set -xe
|
||||||
|
NAME="Auto-Build $(date +'%Y-%m-%d %H:%M')"
|
||||||
|
TAGNAME="autobuild-$(date +'%Y-%m-%d-%H-%M')"
|
||||||
|
hub release create $(for a in artifacts/*; do echo -a $a; done) -m "$NAME" -t "master" "$TAGNAME"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in a new issue