Skip to content

Commit

Permalink
Fix: tag_commit on fresh repo with no tags (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbe-arg authored May 12, 2023
1 parent 72f3a54 commit c360518
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 @@ -113,7 +113,7 @@ then
fi

# get current commit hash for tag
tag_commit=$(git rev-list -n 1 "$tag")
tag_commit=$(git rev-list -n 1 "$tag" || true )
# get current commit hash
commit=$(git rev-parse HEAD)
# skip if there are no new commits for non-pre_release
Expand Down

0 comments on commit c360518

Please sign in to comment.