summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2024-09-29 17:38:27 +0200
committerFurkan Sahin <furkan-dev@proton.me>2024-09-29 17:38:27 +0200
commit662904f82c85ff16ac82adca690a9431e5902aaf (patch)
tree5247428d627c1340f284e3b5c4f33780157ee9f8
parent89d8853ea133b32a2101809ed26e4364e76e8908 (diff)
release: push tags before creating GitHub release
Otherwise the GitHub release isn't attached to the Git tag. (cherry picked from commit a2757e5f165eae445ae550fd1d13f9ec0db44efc)
-rwxr-xr-xrelease.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/release.sh b/release.sh
index 62baf415..c5644cfd 100755
--- a/release.sh
+++ b/release.sh
@@ -28,4 +28,5 @@ archive=$prefix.tar.gz
git archive --prefix="$prefix/" -o "$archive" "$next"
gpg --output "$archive".sig --detach-sig "$archive"
+git push --follow-tags
gh release create "sway $next" -t "$next" -n "" -d "$archive" "$archive.sig"