Skip to content

Commit

Permalink
fix(gha): use correct capture groups
Browse files Browse the repository at this point in the history
  • Loading branch information
efiop authored May 1, 2024
1 parent 4c32fa0 commit 4d7468b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
run: |
regex="^(refs/tags/)?(.*)_v(.*)$"
[[ $TAG =~ $regex ]] || exit 1
name=${BASH_REMATCH[1]}
version=${BASH_REMATCH[2]}
name=${BASH_REMATCH[2]}
version=${BASH_REMATCH[3]}
echo "Parsed name=$name version=$version"
echo "name=$name" >> "$GITHUB_OUTPUT"
echo "version=$version" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 4d7468b

Please sign in to comment.