From d0ef79302d0c3a385608ea161786e049317a3a99 Mon Sep 17 00:00:00 2001 From: Michael FIG Date: Mon, 22 Feb 2021 17:17:01 -0600 Subject: [PATCH] fix: tag the golang semantic version when pushing tags --- scripts/get-released-tags | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/get-released-tags b/scripts/get-released-tags index aca731d94eb..201e0257929 100755 --- a/scripts/get-released-tags +++ b/scripts/get-released-tags @@ -8,6 +8,13 @@ fi for tag in $(git tag -l | egrep -e '@[0-9]+\.[0-9]+\.[0-9]+$'); do case $tag in @agoric/sdk@*) sdkTags="$sdkTags $tag" ;; + @agoric/cosmos@*) + # This logic publishes the golang tag needed for go get downloads. + # Format needs to be vNN.MM.PP + goTag=v$(echo "$tag" | sed -e 's/.*@//') + git tag -f "$goTag" "$tag" + otherTags="$otherTags $tag $goTag" + ;; *) otherTags="$otherTags $tag" ;; esac done