Skip to content

Commit 755f6c3

Browse files
refactor: Remove unnecessary --follow-tags
git push --tags already pushes both lightweight and annotated tags.
1 parent fc846bb commit 755f6c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ if [ "$INPUT_PUSH" == "true" ]; then
5353
echo "Pushing to branch..."
5454
remote_repo="https://${GITHUB_ACTOR}:${INPUT_GITHUB_TOKEN}@github.com/${REPOSITORY}.git"
5555
git pull ${remote_repo} ${INPUT_BRANCH}
56-
git push "${remote_repo}" HEAD:${INPUT_BRANCH} --follow-tags --tags
56+
git push "${remote_repo}" HEAD:${INPUT_BRANCH} --tags
5757
else
5858
echo "Not pushing"
5959
fi

0 commit comments

Comments
 (0)