Skip to content

Commit d4d7e6a

Browse files
committed
fix: reorder steps to build mithril-client-wasm before upgrading the explorer
1 parent 47cdaea commit d4d7e6a

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

docs/runbook/upgrade-repository-dependencies/README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -84,38 +84,38 @@ chore: upgrade doc dependencies
8484
By running 'make upgrade' command.
8585
```
8686

87-
### Upgrade the explorer dependencies
87+
### Upgrade `www/` and `www-test/` dependencies
8888

8989
From the root of the repository, run:
9090

9191
```bash
92-
cd mithril-explorer
93-
make upgrade
92+
cd mithril-client-wasm
93+
make upgrade-www-deps
9494
```
9595

9696
Create a dedicated commit, e.g.:
9797

9898
```bash
99-
chore: upgrade explorer dependencies
99+
chore: upgrade mithril client wasm 'www' and 'www-test' dependencies
100100

101-
By running 'make upgrade' command.
101+
By running 'make upgrade-www-deps' command.
102102
```
103103

104-
### Upgrade `www/` and `www-test/` dependencies
104+
### Upgrade the explorer dependencies
105105

106106
From the root of the repository, run:
107107

108108
```bash
109-
cd mithril-client-wasm
110-
make upgrade-www-deps
109+
cd mithril-explorer
110+
make upgrade
111111
```
112112

113113
Create a dedicated commit, e.g.:
114114

115115
```bash
116-
chore: upgrade mithril client wasm 'www' and 'www-test' dependencies
116+
chore: upgrade explorer dependencies
117117

118-
By running 'make upgrade-www-deps' command.
118+
By running 'make upgrade' command.
119119
```
120120

121121
### Bump Javascript packages versions
@@ -142,7 +142,7 @@ make install
142142
Create a dedicated commit, e.g.:
143143

144144
```bash
145-
chore: bump mithril client wasm 'www' and 'www-test' dependencies
145+
chore: bump javascript packages versions
146146

147147
By running:
148148
- 'make www-install' command in 'mithril-client-wasm'.

docs/runbook/upgrade-repository-dependencies/upgrade_dependencies.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,6 @@ git commit -am "chore: upgrade doc dependencies
2626
2727
By running 'make upgrade' command."
2828

29-
# Upgrade the explorer dependencies
30-
pushd mithril-explorer || exit
31-
make upgrade
32-
popd || exit
33-
git commit -am "chore: upgrade explorer dependencies
34-
35-
By running 'make upgrade' command."
36-
3729
# Upgrade www/ and www-test/ dependencies
3830
pushd mithril-client-wasm || exit
3931
make upgrade-www-deps
@@ -43,6 +35,14 @@ git commit -am "chore: upgrade mithril client wasm 'www' and 'www-test' dependen
4335
4436
By running 'make upgrade-www-deps' command."
4537

38+
# Upgrade the explorer dependencies
39+
pushd mithril-explorer || exit
40+
make upgrade
41+
popd || exit
42+
git commit -am "chore: upgrade explorer dependencies
43+
44+
By running 'make upgrade' command."
45+
4646
# Bump Javascript packages versions
4747

4848
# Search all package.json files and bump the version
@@ -66,7 +66,7 @@ pushd docs/website || exit
6666
make install
6767
popd || exit
6868

69-
git commit -am "chore: bump mithril client wasm 'www' and 'www-test' dependencies
69+
git commit -am "chore: bump javascript packages versions
7070
7171
By running:
7272
- 'make www-install' command in 'mithril-client-wasm'.

0 commit comments

Comments
 (0)