diff --git a/.github/workflows/cargo-build-and-test.yaml b/.github/workflows/cargo-build-and-test.yaml index f30a997..1ebbb5e 100644 --- a/.github/workflows/cargo-build-and-test.yaml +++ b/.github/workflows/cargo-build-and-test.yaml @@ -56,7 +56,8 @@ jobs: useConfigFile: true - name: "Overwrite version numbers" run: | - awk 'NR==1,/version = "0.1.0"/{sub(/version = "0.1.0"/, "version = \"'$GitVersion_SemVer'\"")} 1' stellar_rust_sdk_derive/Cargo.toml > stellar_rust_sdk_derive/Cargo.tmp && mv stellar_rust_sdk_derive/Cargo.tmp stellar_rust_sdk_derive/Cargo.toml + awk 'NR==1,/version = "0.1.0"/{sub(/version = "0.1.0"/, "version = \"'$GitVersion_SemVer'\"")} 1' stellar_rust_sdk/stellar_rust_sdk_derive/Cargo.toml > stellar_rust_sdk/stellar_rust_sdk_derive/Cargo.tmp && mv stellar_rust_sdk/stellar_rust_sdk_derive/Cargo.tmp stellar_rust_sdk/stellar_rust_sdk_derive/Cargo.toml + awk 'NR==1,/version = "0.1.0"/{sub(/version = "0.1.0"/, "version = \"'$GitVersion_SemVer'\"")} 1' stellar_rust_sdk/Cargo.toml > stellar_rust_sdk/Cargo.tmp && mv stellar_rust_sdk/Cargo.tmp stellar_rust_sdk/Cargo.toml - uses: actions-rs/toolchain@v1 with: toolchain: stable