From 6e5473a51cb21c737d9a991ec8a99500cb9ead20 Mon Sep 17 00:00:00 2001 From: lladdy Date: Sat, 23 Nov 2024 23:04:58 +1030 Subject: [PATCH] ci: fix image version extraction --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 35f0319..90275bc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: # Validate tag format and extract type if [[ $TAG =~ ^(bot|sc2)-v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then TYPE=${BASH_REMATCH[1]} - VERSION=${TAG#*-v} + VERSION=${TAG#*-} echo "Tag format is valid" echo "type=${TYPE}" >> $GITHUB_OUTPUT echo "version=${VERSION}" >> $GITHUB_OUTPUT