release: push tags before creating GitHub release

Otherwise the GitHub release isn't attached to the Git tag.
This commit is contained in:
Simon Ser 2024-09-29 17:38:27 +02:00 committed by Kenny Levinsen
parent a0b3606f17
commit a2757e5f16

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"