Skip to content

Commit b820b43

Browse files
committed
[hack] display git versions
1 parent daeef13 commit b820b43

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/convert.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ if (( version )); then
4949
) | tee version.log
5050
fi
5151

52+
printf 'branch:\t<%s>\n' "$(git branch --show-current)"
53+
printf 'describe:\t<%s>\n' "$(git describe --tags)"
54+
printf 'rev-parse:\t<%s>\n' "$(git rev-parse HEAD)"
55+
5256
# branch (for usual PR and pushes)
5357
branch="$(git branch --show-current)"
5458
# fall back on tags if branch was left empty (checked out in grafted/detached head mode, e.g. when testing a tag)

0 commit comments

Comments
 (0)