Skip to content

Commit

Permalink
#11 only push created tag
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelsam committed Jan 26, 2024
1 parent 68a4e6c commit 0aee8e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"

cd "${GITHUB_WORKSPACE}" || exit
git tag -a "v${GITHUB_REF_NAME}" -m "Go module tag for version ${GITHUB_REF_NAME} by ${GITHUB_ACTOR}" ${GITHUB_WORKFLOW_SHA}
git push origin --tags
git push origin "v${GITHUB_REF_NAME}"

0 comments on commit 0aee8e5

Please sign in to comment.