From 3be6665bc1b5eb9e09159303ab0f3aa00df3d5b8 Mon Sep 17 00:00:00 2001 From: James Pickett Date: Mon, 10 Jan 2022 09:26:27 +0000 Subject: [PATCH] fixed issue where package_release.sh used HEAD instead of tag --- package_release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"