Skip to content

Commit

Permalink
refactor: Update create_tag.yaml to use input version without 'v' pre…
Browse files Browse the repository at this point in the history
…fix (#61)
  • Loading branch information
sword-jin authored Jul 17, 2024
1 parent ad1d3ac commit ff4170b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/create_tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
env:
VERSION: ${{ github.event.inputs.version }}
run : |
crate_version="${{ env.ARTIFACT_VERSION }}"
crate_version="$VERSION"
if [[ "$crate_version" == v* ]]; then
crate_version="${crate_version:1}"
fi
Expand Down

0 comments on commit ff4170b

Please sign in to comment.