Skip to content

Commit 6765dae

Browse files
committed
Use sed instead of substitution
1 parent a06cf57 commit 6765dae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
id: bump_version
4242
shell: bash
4343
run: |
44-
poetry version ${$(poetry version -s)%rc*}
44+
poetry version $(poetry version -s | sed -e 's/\"//g' -e 's/rc.*//g')
4545
echo "SDK_VERSION=$(poetry version -s)" >> $GITHUB_ENV
4646
echo "version=$(poetry version -s)" >> $GITHUB_OUTPUT
4747

0 commit comments

Comments
 (0)