Skip to content

Commit 045c2ea

Browse files
fix(release): correct python tomllib quoting
1 parent cd20b91 commit 045c2ea

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
@@ -55,7 +55,7 @@ jobs:
5555
shell: bash
5656
run: |
5757
VERSION="${{ steps.version.outputs.VERSION }}"
58-
CARGO_VERSION="$(python -c 'import tomllib; print(tomllib.load(open(\"crates/ironposh-web/Cargo.toml\",\"rb\"))['\"'\"'package'\"'\"']['\"'\"'version'\"'\"'])')"
58+
CARGO_VERSION="$(python -c 'import tomllib; print(tomllib.load(open("crates/ironposh-web/Cargo.toml","rb"))["package"]["version"])')"
5959
6060
if [ "$CARGO_VERSION" != "$VERSION" ]; then
6161
echo "Version mismatch:"

0 commit comments

Comments
 (0)