Skip to content

Commit

Permalink
[auto] Update compiled version
Browse files Browse the repository at this point in the history
  • Loading branch information
ToMe25 committed May 16, 2020
1 parent 83761c7 commit 46569f9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ remove() {
}

tag() {
if [ -n "$INPUT_TAG" ]; then git tag $INPUT_TAG; fi
if [ -n "$INPUT_TAG" ]; then
git tag $INPUT_TAG
git push origin refs/tags/$INPUT_TAG
fi
}

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

echo "Pushing to repo..."
git push --set-upstream origin --tags "$INPUT_REF"
git push --set-upstream origin "$INPUT_REF"

echo "::endgroup::"
echo "Task completed."
Expand Down

0 comments on commit 46569f9

Please sign in to comment.