From 917ac74fb67d4eb89841aa492b81c96735af38b3 Mon Sep 17 00:00:00 2001 From: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Date: Sat, 27 Jul 2024 09:24:06 +0100 Subject: [PATCH] fix(publish): fix publish workflow by not committing changed files --- .github/workflows/e2e.yml | 5 ----- .github/workflows/release.yml | 5 ----- 2 files changed, 10 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index fe5db84b30..1bd8b333fa 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -45,11 +45,6 @@ jobs: git config --global user.email "you@example.com" git config --global user.name "Your Name" - # Depending on the STATE_TREE_DEPTH param, there - # might be changes in the EmptyBallotRoots.sol file - git add contracts/contracts/trees/EmptyBallotRoots.sol - git diff --staged --quiet || git commit -m "Commit changes before publishing" - lerna version 0.0.0-ci.$(git rev-parse --short HEAD) --no-push --yes --exact lerna publish from-git --dist-tag ci --yes env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ab2161f204..1583ea536d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,11 +48,6 @@ jobs: git config --global user.email "you@example.com" git config --global user.name "Your Name" - # Depending on the STATE_TREE_DEPTH param, there - # might be changes in the EmptyBallotRoots.sol file - git add contracts/contracts/trees/EmptyBallotRoots.sol - git diff --staged --quiet || git commit -m "Commit changes before publishing" - pnpm exec lerna publish from-package --yes env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}