From 4862864e29a304d89e9c7546f8b559deb076876d Mon Sep 17 00:00:00 2001 From: Artem Chystiakov Date: Tue, 17 Mar 2026 20:13:08 +0200 Subject: [PATCH] fix publishing --- .github/workflows/release.yml | 15 ++++++++------- scripts/publish | 1 + 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2d78f7d..a9db3ff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -170,10 +170,11 @@ jobs: - name: Publish env: CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }} - run: ./scripts/publish \ - ./crates/sdk/Cargo.toml \ - ./crates/build/Cargo.toml \ - ./crates/regtest/Cargo.toml \ - ./crates/test/Cargo.toml \ - ./crates/macros/Cargo.toml \ - ./crates/simplex/Cargo.toml + run: | + ./scripts/publish \ + ./crates/sdk/Cargo.toml \ + ./crates/build/Cargo.toml \ + ./crates/regtest/Cargo.toml \ + ./crates/test/Cargo.toml \ + ./crates/macros/Cargo.toml \ + ./crates/simplex/Cargo.toml diff --git a/scripts/publish b/scripts/publish index 02519f8..454c25f 100755 --- a/scripts/publish +++ b/scripts/publish @@ -49,6 +49,7 @@ check_crate() { if [ -n "$published" ]; then # Already published + say "${crate_name} v${crate_version} is already published." return 1 else # Needs publishing