Fixed publishing release
This commit is contained in:
parent
3451ce9ba3
commit
29bdab6e6d
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -159,7 +159,7 @@ jobs:
|
||||||
RELDATE="$(date +'%Y-%m-%d %H:%M')"
|
RELDATE="$(date +'%Y-%m-%d %H:%M')"
|
||||||
NAME="Auto-Build $RELDATE"
|
NAME="Auto-Build $RELDATE"
|
||||||
TAGNAME="autobuild-$(date +'%Y-%m-%d-%H-%M')"
|
TAGNAME="autobuild-$(date +'%Y-%m-%d-%H-%M')"
|
||||||
hub release create $(for a in artifacts/*.{zip,tar.xz}; do echo -a $a; done) -m "$NAME" -t "master" "$TAGNAME"
|
hub release create $(for a in artifacts/*.zip; do echo -a $a; done) -m "$NAME" -t "master" "$TAGNAME"
|
||||||
echo "::set-output name=tag_name::${TAGNAME}"
|
echo "::set-output name=tag_name::${TAGNAME}"
|
||||||
echo "::set-output name=rel_date::${RELDATE}"
|
echo "::set-output name=rel_date::${RELDATE}"
|
||||||
env:
|
env:
|
||||||
|
@ -168,7 +168,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
set -xe
|
set -xe
|
||||||
mkdir latest_artifacts
|
mkdir latest_artifacts
|
||||||
./util/repack_latest.sh latest_artifacts artifacts/*.{zip,tar.xz}
|
./util/repack_latest.sh latest_artifacts artifacts/*.zip
|
||||||
NAME="Latest Auto-Build (${{ steps.create_release.outputs.rel_date }})"
|
NAME="Latest Auto-Build (${{ steps.create_release.outputs.rel_date }})"
|
||||||
TAGNAME="latest"
|
TAGNAME="latest"
|
||||||
hub release delete "$TAGNAME" || true
|
hub release delete "$TAGNAME" || true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue