Skip to content

Commit

Permalink
fix(publish): fix publish workflow by not committing changed files
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlc03 committed Jul 27, 2024
1 parent e7aa4dd commit 103cbf0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 40 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ jobs:
git config --global user.email "[email protected]"
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:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ jobs:
git config --global user.email "[email protected]"
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 }}
30 changes: 0 additions & 30 deletions contracts/contracts/trees/EmptyBallotRoots.sol

This file was deleted.

0 comments on commit 103cbf0

Please sign in to comment.