Skip to content

Commit

Permalink
Merge pull request #187 from brunofarina/master
Browse files Browse the repository at this point in the history
Update entrypoint.sh, by adding new_tag value when there are no new commits
  • Loading branch information
sbe-arg authored Sep 27, 2022
2 parents bf19f78 + d252992 commit 437f70e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ commit=$(git rev-parse HEAD)
if [ "$tag_commit" == "$commit" ]
then
echo "No new commits since previous tag. Skipping..."
echo "::set-output name=new_tag::$tag"
echo "::set-output name=tag::$tag"
exit 0
fi
Expand Down

0 comments on commit 437f70e

Please sign in to comment.