diff --git a/.scripts/build_funcs.sh b/.scripts/build_funcs.sh index ac87f8a..67ee1fe 100755 --- a/.scripts/build_funcs.sh +++ b/.scripts/build_funcs.sh @@ -2,8 +2,8 @@ set -e -version="$(git symbolic-ref -q --short HEAD || git describe --tags --exact-match)" -commit="$(git log --format="%H" -n 1)" +version=$(git rev-parse --abbrev-ref HEAD) +commit=$(git log --format="%H" -n 1) function compile { local os=$1