Skip to content

Commit

Permalink
Only make lightweight tags in CD (#356)
Browse files Browse the repository at this point in the history
  • Loading branch information
TwistedTwigleg authored Jan 18, 2023
1 parent 3dcdbbf commit 66ef78c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/publish-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ git fetch
git checkout main
git pull "https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/aws/aws-iot-device-sdk-java-v2.git" main

# Create new tag on latest commit with the release title
git tag -f v${new_version} -m "${RELEASE_TITLE}"
# Create new tag on latest commit (lightweight tag - we do NOT want an annotated tag)
git tag -f v${new_version}
# Push new tag to github
git push "https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/aws/aws-iot-device-sdk-java-v2.git" --tags

Expand Down

0 comments on commit 66ef78c

Please sign in to comment.