From 21a83f911499075ae2f278ec492190f8a3c2635b Mon Sep 17 00:00:00 2001 From: loonerin Date: Tue, 3 Dec 2024 12:39:26 -0500 Subject: [PATCH] cicd: test branch test --- .github/actions/gen_tag_name/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/gen_tag_name/action.yml b/.github/actions/gen_tag_name/action.yml index fb97d2ea..85d909a1 100644 --- a/.github/actions/gen_tag_name/action.yml +++ b/.github/actions/gen_tag_name/action.yml @@ -12,7 +12,7 @@ runs: VPAT=0 set +o pipefail VLAST=$(git describe --tags --abbrev=0 --match='v[1-9]*' 2>/dev/null | cut -c2-) - [ $VLAST ] && IFS=. read -r VMAJ VMIN VPAT <<< $VLAST + [ $VLAST ] && declare $(echo $VLAST | awk -F '.' '{print "VMAJ="$1" VMIN="$2" VPAT="$3}') if [ "$GITHUB_REF_NAME" = "main" ] then VPAT=0