mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 11:40:22 +00:00
create_continuous_release.sh: force fetch
It looks like git on GH tags without signatures first and thus the consequent fetch in create_continuous_release.sh fails because it fetches signed tag (although it is the same object). See also: https://github.com/MartinPulec/UltraGrid/actions/runs/2902280934 + enable debugging in the script (`-x`)
This commit is contained in:
4
.github/scripts/create_continuous_release.sh
vendored
4
.github/scripts/create_continuous_release.sh
vendored
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh -eu
|
||||
#!/bin/sh -eux
|
||||
#
|
||||
# Ensures that tag "continuous" is present is released on GH. This is required for
|
||||
# zsync AppImage release asset.
|
||||
@@ -9,7 +9,7 @@ URL=$(curl -S -H "Authorization: token $GITHUB_TOKEN" -X GET "https://api.github
|
||||
if [ "$URL" != null ]; then # release exists
|
||||
exit 0
|
||||
fi
|
||||
git fetch --prune --unshallow --tags
|
||||
git fetch --prune --unshallow --tags -f
|
||||
git tag continuous && git push origin refs/tags/continuous
|
||||
curl -S -H "Authorization: token $GITHUB_TOKEN" -X POST "$URL" -T - <<EOF
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user