File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 run : |
3535 INPUT_VERSION="${{ inputs.version }}"
3636
37- if [[ -z "$INPUT_VERSION" ] ]; then
37+ if [ -z "$INPUT_VERSION" ]; then
3838 echo "Error: Version input is empty"
3939 exit 1
4040 fi
@@ -45,20 +45,13 @@ jobs:
4545 # Manually update the version in the Cargo.toml files, until we have a proper
4646 # rework of the Dojo crates and Sozo isolation.
4747
48- set -e pipefail
48+ set -e
4949
50- SOZO_MANIFESTS=(
51- "./Cargo.toml"
52- "../../crates/sozo/mcp/Cargo.toml"
53- "../../crates/sozo/ops/Cargo.toml"
54- "../../crates/sozo/signers/Cargo.toml"
55- "../../crates/sozo/ui/Cargo.toml"
56- "../../crates/sozo/walnut/Cargo.toml"
57- )
50+ SOZO_MANIFESTS="./Cargo.toml ../../crates/sozo/mcp/Cargo.toml ../../crates/sozo/ops/Cargo.toml ../../crates/sozo/signers/Cargo.toml ../../crates/sozo/ui/Cargo.toml ../../crates/sozo/walnut/Cargo.toml"
5851
59- for manifest in "${ SOZO_MANIFESTS[@]}" ; do
52+ for manifest in $ SOZO_MANIFESTS; do
6053 tmp="$(mktemp)"
61- if ! sed ' 0,/^[[:space:]]*version[[:space:]]*=/s//version = "'" $CLEAN_VERSION"'"/' "$manifest" > "$tmp"; then
54+ if ! sed " 0,/^[[:space:]]*version[[:space:]]*=/s//version = \" $CLEAN_VERSION\"/" "$manifest" > "$tmp"; then
6255 echo "Failed to update version in $manifest"
6356 exit 1
6457 fi
You can’t perform that action at this time.
0 commit comments