Skip to content

Commit f6ab53e

Browse files
committed
ci: fix release workflow yaml
1 parent a3c8023 commit f6ab53e

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ jobs:
2121
run: |
2222
TAG="${GITHUB_REF_NAME#v}"
2323
CARGO_VERSION=$(python3 - <<'PY'
24-
from pathlib import Path
25-
for line in Path("Cargo.toml").read_text().splitlines():
26-
if line.startswith("version = "):
27-
print(line.split('"')[1])
28-
break
29-
PY
30-
)
24+
from pathlib import Path
25+
for line in Path("Cargo.toml").read_text().splitlines():
26+
if line.startswith("version = "):
27+
print(line.split('"')[1])
28+
break
29+
PY
30+
)
3131
UI_VERSION=$(python3 - <<'PY'
32-
import json
33-
from pathlib import Path
34-
print(json.loads(Path("web/void-control-ux/package.json").read_text())["version"])
35-
PY
36-
)
32+
import json
33+
from pathlib import Path
34+
print(json.loads(Path("web/void-control-ux/package.json").read_text())["version"])
35+
PY
36+
)
3737
test "${TAG}" = "${CARGO_VERSION}"
3838
test "${TAG}" = "${UI_VERSION}"
3939
echo "version=${TAG}" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)