Skip to content

Commit

Permalink
fix: prevent from incrementing mithril-client-wasm version in /pkg/
Browse files Browse the repository at this point in the history
  • Loading branch information
dlachaume committed Oct 15, 2024
1 parent d4d7e6a commit fb3a449
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/runbook/upgrade-repository-dependencies/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ By running 'make upgrade' command.

From the root of the repository, run:

[!IMPORTANT]: This command must be run before upgrading `mithril-explorer`.

```bash
cd mithril-client-wasm
make upgrade-www-deps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ By running 'make upgrade' command."

# Search all package.json files and bump the version
# and exclude `package.json` in `node_modules` folder
for package_json_file in $(find . -name package.json | grep -v "/node_modules/"); do
for package_json_file in $(find . -name package.json | grep -v "/node_modules/" | grep -v "/pkg/"); do
folder="$(dirname $package_json_file)"
pushd "$folder" || exit
npm version patch
Expand Down

0 comments on commit fb3a449

Please sign in to comment.