From 0c6ce84badad56b6f61535da336fc33f0f9fc204 Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Wed, 1 Sep 2021 15:30:36 +0300 Subject: [PATCH] Fix tag script to push tag by tag --- scripts/tag.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/tag.sh b/scripts/tag.sh index b9c8cba..121f00e 100755 --- a/scripts/tag.sh +++ b/scripts/tag.sh @@ -32,9 +32,11 @@ PACKAGE_DIRS=$(find . -mindepth 2 -type f -name 'go.mod' -exec dirname {} \; \ | sort) git tag ${TAG} +git push origin ${TAG} for dir in $PACKAGE_DIRS do printf "tagging ${dir}/${TAG}\n" git tag ${dir}/${TAG} + git push origin ${dir}/${TAG} done