Skip to content

Commit

Permalink
ci: fix image version extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
lladdy committed Nov 23, 2024
1 parent b549323 commit 6e5473a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e5473a

Please sign in to comment.