Use tag pointing at head as version
This commit is contained in:
parent
45a9278c74
commit
3c19f8ebdf
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
version=$(git rev-parse --abbrev-ref HEAD)
|
version="$(git tag -l --points-at HEAD)"
|
||||||
commit=$(git log --format="%H" -n 1)
|
commit=$(git log --format="%H" -n 1)
|
||||||
|
|
||||||
function compile {
|
function compile {
|
||||||
|
|
Loading…
Reference in New Issue