Skip to content

Commit 22cdfa3

Browse files
committed
[auto] Update compiled version
1 parent d4aeb93 commit 22cdfa3

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

lib/entrypoint.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,7 @@ remove() {
3232
}
3333

3434
tag() {
35-
if [ -n "$INPUT_TAG" ]; then
36-
git tag $INPUT_TAG
37-
git push origin refs/tags/$INPUT_TAG
38-
fi
35+
if [ -n "$INPUT_TAG" ]; then git tag $INPUT_TAG; fi
3936
}
4037

4138
# This is needed to make the check work for untracked files
@@ -79,7 +76,7 @@ if ! git diff --cached --quiet --exit-code; then
7976
tag
8077

8178
echo "Pushing to repo..."
82-
git push --set-upstream origin "$INPUT_REF"
79+
git push --set-upstream origin "$INPUT_REF" --tags
8380

8481
echo "::endgroup::"
8582
echo "Task completed."

0 commit comments

Comments
 (0)