From e04a3d3fa8a3e8324760ce462f32ae9fb9827a02 Mon Sep 17 00:00:00 2001 From: xand6r Date: Tue, 26 Nov 2024 21:18:45 +0100 Subject: [PATCH] bump version to test multi package deploy --- .github/workflows/publish-crate.yml | 19 ++++++++++++++++++- ic/libraries/Cargo.toml | 2 +- rs/local-verify/Cargo.toml | 4 ++-- rs/remote-verify/Cargo.toml | 6 +++--- zk/host/Cargo.toml | 2 +- 5 files changed, 25 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish-crate.yml b/.github/workflows/publish-crate.yml index 469689bc99..dfad419ce4 100644 --- a/.github/workflows/publish-crate.yml +++ b/.github/workflows/publish-crate.yml @@ -28,7 +28,24 @@ jobs: run: cargo login ${{ secrets.CARGO_TOKEN }} # Step 4: Publish the library - - name: Publish Library to crates.io + - name: Publish `ic/libraries::verity_dp_ic` to crates.io + continue-on-error: true run: | cd ic/libraries cargo publish --allow-dirty + + # Step 4: Publish the zk libraries + - name: Publish `rs/remote-verify::remote_verify` to crates.io + continue-on-error: true + run: | + cd rs/remote-verify + cargo publish --allow-dirty + + # Step 4: Publish the zk libraries + - name: Publish `rs/remote-verify::local_verify` to crates.io + continue-on-error: true + run: | + cd rs/local-verify + cargo publish --allow-dirty + + # Step 5: Publish the rs libraries diff --git a/ic/libraries/Cargo.toml b/ic/libraries/Cargo.toml index a7ff8d560a..8a31deec0b 100644 --- a/ic/libraries/Cargo.toml +++ b/ic/libraries/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "verity_dp_ic" -version = "0.1.4" +version = "0.1.5" license = "MIT/Apache-2.0" description = "A Library containing utilities for the verity IC components" documentation = "https://www.usher.so/" diff --git a/rs/local-verify/Cargo.toml b/rs/local-verify/Cargo.toml index 8c5f09adea..6cd56cda13 100644 --- a/rs/local-verify/Cargo.toml +++ b/rs/local-verify/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "local-verify" -version = "0.1.0" +name = "local_verify" +version = "0.1.1" edition = "2021" [dependencies] diff --git a/rs/remote-verify/Cargo.toml b/rs/remote-verify/Cargo.toml index 908ac519b1..c0685e9036 100644 --- a/rs/remote-verify/Cargo.toml +++ b/rs/remote-verify/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "remote-verify" -version = "0.1.0" +name = "remote_verify" +version = "0.1.1" edition = "2021" [dependencies] @@ -13,4 +13,4 @@ ic-agent = { git = "https://github.com/dfinity/agent-rs.git", rev = "60a64dd2d53 ic-identity-hsm = { git = "https://github.com/dfinity/agent-rs.git", rev = "60a64dd2d5368180f03a75df80f475d6e2caf21a" } ic-utils = { git = "https://github.com/dfinity/agent-rs.git", rev = "60a64dd2d5368180f03a75df80f475d6e2caf21a" } tokio = { version = "1.40.0", features = ["full"] } -local-verify = { path = "../local-verify" } +local_verify = { path = "../local-verify" } diff --git a/zk/host/Cargo.toml b/zk/host/Cargo.toml index 5110b99bd3..03450a66d8 100644 --- a/zk/host/Cargo.toml +++ b/zk/host/Cargo.toml @@ -19,5 +19,5 @@ anyhow = { version = "1.0.75" } bonsai-sdk = { version = "0.8.0-rc.3" } serde = "1" serde_json = "1.0.107" -remote-verify = { path = "../../rs/remote-verify/" } +remote_verify = { path = "../../rs/remote-verify/" } tlsn-core-no-session = { path = "../../../verity/tlsn-core-no-session" }