Skip to content

Commit

Permalink
fix(publish-cli): adds a missing wildcard from the bash prefix remova…
Browse files Browse the repository at this point in the history
…l syntax (#32322)
  • Loading branch information
esolitos authored Sep 3, 2024
1 parent 4869f25 commit 92bba6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: |
if [[ "${{ github.event_name }}" == "push" && "${{ startswith(github.ref, 'refs/tags/v') }}" == "true" ]]; then
# Remove the "v" prefix from the tag.
BUILD_VERSION="${GITHUB_REF_NAME#v}"
BUILD_VERSION="${GITHUB_REF_NAME#*v}"
else
BUILD_VERSION="0.0.0-dev_${{ github.run_number }}"
fi
Expand Down

0 comments on commit 92bba6e

Please sign in to comment.