Skip to content

Commit

Permalink
Merge pull request anothrNick#43 from anothrNick/test-log
Browse files Browse the repository at this point in the history
add git log for debug
  • Loading branch information
anothrNick authored Feb 8, 2020
2 parents f54c551 + bd326a4 commit ab1e80f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ git fetch
# fetch tags
git fetch --tags

# log commits
git log

# get latest tag that looks like a semver (with or without v)
tag=$(git for-each-ref --sort=-v:refname --count=1 --format '%(refname)' refs/tags/[0-9]*.[0-9]*.[0-9]* refs/tags/v[0-9]*.[0-9]*.[0-9]* | cut -d / -f 3-)
tag_commit=$(git rev-list -n 1 $tag)
Expand Down

0 comments on commit ab1e80f

Please sign in to comment.