Skip to content

Commit

Permalink
Use tag pointing at head as version
Browse files Browse the repository at this point in the history
  • Loading branch information
Acconut committed Feb 22, 2017
1 parent 45a9278 commit 3c19f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .scripts/build_funcs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

version=$(git rev-parse --abbrev-ref HEAD)
version="$(git tag -l --points-at HEAD)"
commit=$(git log --format="%H" -n 1)

function compile {
Expand Down

0 comments on commit 3c19f8e

Please sign in to comment.