Skip to content

Commit

Permalink
fix: tag the golang semantic version when pushing tags
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Feb 22, 2021
1 parent 14a7b30 commit d0ef793
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/get-released-tags
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d0ef793

Please sign in to comment.