Use unique tag name for releases

This commit is contained in:
BtbN 2020-09-03 18:27:19 +02:00
parent 03a627998d
commit f3b3610895

View file

@ -98,6 +98,10 @@ jobs:
name: ffmpeg
path: artifacts
- 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:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}