Skip to content

Commit

Permalink
Fix variable substitution
Browse files Browse the repository at this point in the history
  • Loading branch information
dennis-carlson-sudo committed May 13, 2024
1 parent bedca73 commit 1fe8f85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
run: |
RELEASE_NAME="${{ github.event.release.name }}"
VERSION="${RELEASE_NAME:1}"
sed -i '0,/version = "1.0.0"/s//version = "${VERSION}"/' Cargo.toml
sed -i "0,/version = \"1.0.0\"/s//version = \"${VERSION}\"/" Cargo.toml
cat Cargo.toml
if: github.event_name == 'release' && github.event.action == 'published'

Expand Down

0 comments on commit 1fe8f85

Please sign in to comment.