diff --git a/package_release.sh b/package_release.sh index 3aa0428..22aaa0a 100644 --- a/package_release.sh +++ b/package_release.sh @@ -2,7 +2,7 @@ set -e -git_branch=$(git rev-parse --abbrev-ref HEAD) +git_branch=$(git symbolic-ref -q --short HEAD || git describe --tags --exact-match) oses=( "linux" "windows"