Skip to content

Commit

Permalink
Pre tag commit can be null
Browse files Browse the repository at this point in the history
  • Loading branch information
sbe-arg committed May 6, 2023
1 parent 5972b1f commit db23a5c
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 @@ -178,7 +178,7 @@ esac
if $pre_release
then
# get current commit hash for tag
pre_tag_commit=$(git rev-list -n 1 "$pre_tag")
pre_tag_commit=$(git rev-list -n 1 "$pre_tag" || true)
# skip if there are no new commits for pre_release
if [ "$pre_tag_commit" == "$commit" ]
then
Expand Down

0 comments on commit db23a5c

Please sign in to comment.