Give Github some time to process release deletion

This commit is contained in:
BtbN 2021-12-26 02:43:51 +01:00
parent db4e36b8f1
commit 20d4bf3ef7

View file

@ -179,8 +179,8 @@ jobs:
NAME="Latest Auto-Build (${{ steps.create_release.outputs.rel_date }})"
TAGNAME="latest"
hub release delete "$TAGNAME" || true
git tag -d "$TAGNAME" || true
git push --delete origin "$TAGNAME" || true
sleep 30
hub release create $(for a in latest_artifacts/*; do echo -a $a; done) -m "$NAME" -t "master" "$TAGNAME"
env:
GITHUB_TOKEN: ${{ github.token }}