From 8ab0090909be821a1afcf8ca7eb4ef6049be1bab Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Thu, 3 Aug 2023 10:55:03 +0800 Subject: [PATCH] Fix scripts for releasing go packages (#232) --- scripts/go/release.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/go/release.sh b/scripts/go/release.sh index e3ea7efc..3e052e2b 100755 --- a/scripts/go/release.sh +++ b/scripts/go/release.sh @@ -44,6 +44,7 @@ echo "new_tag: $new_tag" git add . git status git commit -m "Release $new_tag" && \ +git push && \ git tag $new_tag && \ git push origin $new_tag || true @@ -90,6 +91,7 @@ echo "new_tag: $new_tag" git add . git status git commit -m "Release $new_tag" && \ +git push && \ git tag $new_tag && \ git push origin $new_tag || true @@ -135,6 +137,7 @@ echo "new_tag: $new_tag" git add . git status git commit -m "Release $new_tag" && \ +git push && \ git tag $new_tag && \ git push origin $new_tag || true