aboutsummaryrefslogtreecommitdiff
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
commitb6273697a9e36f350bb8b4174d8aa1917b71a1e9 (patch)
tree1986c34f2bf7a5103a462c9fd9e83e6857efe7cc
parent40e559d30dc25933bb301659e439ce165cd1fc9b (diff)
release: push tags before creating GitHub release
Otherwise the GitHub release isn't attached to the Git tag.
-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"