From c4b22ba23e21ce28654315f01e32b8d55ff02d9d Mon Sep 17 00:00:00 2001 From: Alex Ostrovski Date: Wed, 25 Sep 2024 12:40:04 +0300 Subject: [PATCH] =?UTF-8?q?ci:=20Brush=20up=20repo=20for=20publishing=20?= =?UTF-8?q?=E2=80=93=20post-release=20fixes=20(#70)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # What ❔ Fixes the release workflow. ## Why ❔ The release workflow is currently broken. --- .github/workflows/release-please-prepare-branch.yml | 2 +- .github/workflows/release-please.yml | 3 ++- Cargo.lock | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-please-prepare-branch.yml b/.github/workflows/release-please-prepare-branch.yml index f6ad8e56..aa431901 100644 --- a/.github/workflows/release-please-prepare-branch.yml +++ b/.github/workflows/release-please-prepare-branch.yml @@ -64,6 +64,6 @@ jobs: git config --global user.email "zksync-era-bot@users.noreply.github.com" git config --global user.name "zksync-era-bot" git remote set-url origin 'https://${{ secrets.RELEASE_TOKEN }}@github.com/matter-labs/vm2.git' - git add ./Cargo.toml + git add ./Cargo.toml ./Cargo.lock git commit -m "$EXPECTED_COMMIT_MESSAGE" git push diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 493f7253..17b2b0ee 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -58,7 +58,8 @@ jobs: run: cargo install cargo-workspaces - name: Build each package separately - run: cargo ws exec cargo build + # Ignore the fuzzing crate which requires a wrapper to build + run: cargo ws exec --ignore-private cargo build - name: Login to crates.io run: cargo login ${{ secrets.CRATES_IO_TOKEN }} diff --git a/Cargo.lock b/Cargo.lock index 56b75e81..0408dc19 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1446,7 +1446,7 @@ dependencies = [ [[package]] name = "zksync_vm2" -version = "0.1.0" +version = "0.2.0" dependencies = [ "anyhow", "arbitrary", @@ -1462,7 +1462,7 @@ dependencies = [ [[package]] name = "zksync_vm2_afl_fuzz" -version = "0.1.0" +version = "0.2.0" dependencies = [ "afl", "arbitrary", @@ -1474,7 +1474,7 @@ dependencies = [ [[package]] name = "zksync_vm2_interface" -version = "0.1.0" +version = "0.2.0" dependencies = [ "primitive-types", ]