From c286c14b89acf792a74379ffbfea67844e386d7d Mon Sep 17 00:00:00 2001 From: rouzwelt Date: Tue, 6 Aug 2024 19:25:10 +0000 Subject: [PATCH 1/3] Update manual-package-release.yml [skip ci] --- .github/workflows/manual-package-release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/manual-package-release.yml b/.github/workflows/manual-package-release.yml index 2fc11729d..80c4eb4ad 100644 --- a/.github/workflows/manual-package-release.yml +++ b/.github/workflows/manual-package-release.yml @@ -1,4 +1,5 @@ name: Manual Packages Release +permissions: write-all on: workflow_dispatch: inputs: From 3ebca0054788cb9a9a36b75d5b26a04dad1712b6 Mon Sep 17 00:00:00 2001 From: rouzwelt Date: Tue, 6 Aug 2024 20:58:10 +0000 Subject: [PATCH 2/3] update --- .github/workflows/manual-package-release.yml | 3 +-- crates/env/Cargo.toml | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/manual-package-release.yml b/.github/workflows/manual-package-release.yml index 80c4eb4ad..1c8fb978e 100644 --- a/.github/workflows/manual-package-release.yml +++ b/.github/workflows/manual-package-release.yml @@ -1,5 +1,4 @@ name: Manual Packages Release -permissions: write-all on: workflow_dispatch: inputs: @@ -56,7 +55,7 @@ jobs: git config --global user.name "${{ secrets.CI_GIT_USER }}" - name: Publish to crates.io - run: nix develop -c cargo release --no-confirm --execute --no-tag --workspace ${{ inputs.version-level }} + run: nix develop -c cargo release --no-confirm --execute --no-tag --workspace --exclude rain-orderbook-env ${{ inputs.version-level }} env: CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} diff --git a/crates/env/Cargo.toml b/crates/env/Cargo.toml index 8197eb156..7cfbaf2e8 100644 --- a/crates/env/Cargo.toml +++ b/crates/env/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "rain-orderbook-env" version = "0.0.0" +description = "Rain Orderbook env for tests" edition.workspace = true license.workspace = true homepage.workspace = true From 944ec9a4d1f8a32e1ab0d43583bac90b9c45cb50 Mon Sep 17 00:00:00 2001 From: rouzwelt Date: Tue, 6 Aug 2024 21:04:51 +0000 Subject: [PATCH 3/3] Update manual-package-release.yml [skip ci] --- .github/workflows/manual-package-release.yml | 8 ++++---- crates/env/Cargo.toml | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/manual-package-release.yml b/.github/workflows/manual-package-release.yml index 1c8fb978e..403c31d49 100644 --- a/.github/workflows/manual-package-release.yml +++ b/.github/workflows/manual-package-release.yml @@ -54,10 +54,10 @@ jobs: git config --global user.email "${{ secrets.CI_GIT_EMAIL }}" git config --global user.name "${{ secrets.CI_GIT_USER }}" - - name: Publish to crates.io - run: nix develop -c cargo release --no-confirm --execute --no-tag --workspace --exclude rain-orderbook-env ${{ inputs.version-level }} - env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} + # - name: Publish to crates.io + # run: nix develop -c cargo release --no-confirm --execute --no-tag -p rain_orderbook_common ${{ inputs.version-level }} + # env: + # CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} # set npm version to rust crate version - name: Set Version diff --git a/crates/env/Cargo.toml b/crates/env/Cargo.toml index 7cfbaf2e8..8197eb156 100644 --- a/crates/env/Cargo.toml +++ b/crates/env/Cargo.toml @@ -1,7 +1,6 @@ [package] name = "rain-orderbook-env" version = "0.0.0" -description = "Rain Orderbook env for tests" edition.workspace = true license.workspace = true homepage.workspace = true