From f5b78f4e830131326d557d2e39725ada420e88f1 Mon Sep 17 00:00:00 2001 From: Thomas Luijken Date: Fri, 19 Jul 2024 14:59:16 +0200 Subject: [PATCH] Also modify derive crate version for consistency --- .github/workflows/cargo-build-and-test.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cargo-build-and-test.yaml b/.github/workflows/cargo-build-and-test.yaml index 666bb5f..0609754 100644 --- a/.github/workflows/cargo-build-and-test.yaml +++ b/.github/workflows/cargo-build-and-test.yaml @@ -55,6 +55,7 @@ jobs: with: 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 run: 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: