release: push tags before creating GitHub release

Otherwise the GitHub release isn't attached to the Git tag.

(cherry picked from commit a2757e5f16)
This commit is contained in:
Simon Ser 2024-09-29 17:38:27 +02:00
parent ae75fea8ef
commit 703671a12d

View file

@ -28,4 +28,5 @@ archive=$prefix.tar.gz
git archive --prefix="$prefix/" -o "$archive" "$next" git archive --prefix="$prefix/" -o "$archive" "$next"
gpg --output "$archive".sig --detach-sig "$archive" gpg --output "$archive".sig --detach-sig "$archive"
git push --follow-tags
gh release create "sway $next" -t "$next" -n "" -d "$archive" "$archive.sig" gh release create "sway $next" -t "$next" -n "" -d "$archive" "$archive.sig"