Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
aviral-nayya authored May 22, 2023
1 parent 323a98e commit de80306
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 @@ -33,7 +33,7 @@ tag_commit=$(git rev-list -n 1 --tags $tag)
# get current commit hash for tag
commit=$(git rev-parse HEAD)

if [ "$tag_commit" == "$commit" ]; then
if [ "$tag_commit" == "$commit" && "$DRY_RUN" != 1 ]; then
echo "No new commits since previous tag. Skipping..."
exit 0
fi
Expand Down

0 comments on commit de80306

Please sign in to comment.