Skip to content

Commit

Permalink
Improved comment
Browse files Browse the repository at this point in the history
Signed-off-by: Edmondo Porcu <[email protected]>
  • Loading branch information
edmondop committed Aug 7, 2023
1 parent 33869a1 commit 3635314
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ lookup_latest_tag() {
else
# In a detached HEAD state, such as when the pipeline
# is triggered by a push on a tag commit, we need to look back
# by date
current_commit=$(git rev-parse HEAD)
for tag in $(git tag --sort=-creatordate); do
if [ $(git rev-parse "$tag") = "$current_commit" ]; then
Expand Down

0 comments on commit 3635314

Please sign in to comment.