From d5e71b10596c78fd2779d3771d7e9eebdd2ebd5a Mon Sep 17 00:00:00 2001 From: Daniel Vigovszky Date: Fri, 22 Mar 2024 17:54:29 +0100 Subject: [PATCH] Fix publish step (#304) * Fix publish step * Remove typo --- .github/workflows/ci.yaml | 2 -- Makefile.toml | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a1e6d1adad..29f7594f3b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,11 +25,9 @@ jobs: - platform: linux/amd64 name: linux/amd64 target: x86_64-unknown-linux-gnu - build-config: "" - platform: linux/arm64 name: linux/arm64 target: aarch64-unknown-linux-gnu - build-config: '--config "target.aarch64-unknown-linux-gnu.linker = ''aarch64-linux-gnu-gcc''"' name: docker-targets-build (${{ matrix.platform.platform }}) steps: - name: Checkout diff --git a/Makefile.toml b/Makefile.toml index 11cd475088..7a3fb43d88 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -221,7 +221,7 @@ dependencies = ["publish-golem-client", "publish-golem-cli"] [tasks.set-golem-client-version] description = "Sets the version in golem-client/Cargo.toml to the value of the VERSION environment variable" command = "sed" -args = ["-i", "s/0\\.0\\.0/$VERSION/g", "golem-client/Cargo.toml"] +args = ["-i", "s/0\\.0\\.0/${VERSION}/g", "golem-client/Cargo.toml"] [tasks.publish-golem-client] description = "Publishes golem-client package to crates.io" @@ -232,7 +232,7 @@ args = ["publish", "-p", "golem-client", "--all-features", "--allow-dirty"] [tasks.set-golem-cli-version] description = "Sets the version in golem-cli/Cargo.toml to the value of the VERSION environment variable" command = "sed" -args = ["-i", "s/0\\.0\\.0/$VERSION/g", "golem-cli/Cargo.toml"] +args = ["-i", "s/0\\.0\\.0/${VERSION}/g", "golem-cli/Cargo.toml"] [tasks.publish-golem-cli] description = "Publishes golem-cli package to crates.io"