@@ -187,13 +187,13 @@ git checkout main && git pull
187
187
Create a new branch from main:
188
188
189
189
``` sh
190
- git checkout -b 24 .0
190
+ git checkout -b 25 .0
191
191
```
192
192
193
193
Push a newly created branch:
194
194
195
195
``` sh
196
- git push origin 24 .0
196
+ git push origin 25 .0
197
197
```
198
198
199
199
The newly created branch for the current major is protected by default.
@@ -202,23 +202,23 @@ The rest of the changes to that branch should happen the usual way, through a PR
202
202
Create another branch:
203
203
204
204
``` sh
205
- git checkout -b update-v24 .0
205
+ git checkout -b update-v25 .0
206
206
```
207
207
208
208
Update [ ` wtr-utils.js ` ] ( https://github.com/vaadin/web-components/blob/main/wtr-utils.js ) as follows:
209
209
210
210
``` diff
211
211
const isLockfileChanged = () => {
212
212
- const log = execSync('git diff --name-only origin/main HEAD').toString();
213
- + const log = execSync('git diff --name-only origin/24 .0 HEAD').toString();
213
+ + const log = execSync('git diff --name-only origin/25 .0 HEAD').toString();
214
214
return log.split('\n').some((line) => line.includes('yarn.lock'));
215
215
};
216
216
```
217
217
218
218
``` diff
219
219
const getChangedPackages = () => {
220
220
- const output = execSync('./node_modules/.bin/lerna ls --since origin/main --json --loglevel silent');
221
- + const output = execSync('./node_modules/.bin/lerna ls --since origin/24 .0 --json --loglevel silent');
221
+ + const output = execSync('./node_modules/.bin/lerna ls --since origin/25 .0 --json --loglevel silent');
222
222
return JSON.parse(output.toString());
223
223
};
224
224
```
@@ -230,16 +230,16 @@ Create a PR to the version branch ([example](https://github.com/vaadin/web-compo
230
230
Create a new branch from main:
231
231
232
232
``` sh
233
- git checkout main && git checkout -b bump-v24 .1
233
+ git checkout main && git checkout -b bump-v25 .1
234
234
```
235
235
236
236
Prepare a new version for the ` updateVersion ` script by running the following command:
237
237
238
238
``` sh
239
- export npm_config_bump=24 .1.0-alpha0
239
+ export npm_config_bump=25 .1.0-alpha0
240
240
```
241
241
242
- Run the script to bump static version getters in ` ElementMixin ` , ` Lumo ` and ` Material ` :
242
+ Run the script to bump version in ` packages/component-base/define.js ` :
243
243
244
244
``` sh
245
245
node scripts/updateVersion.js
@@ -254,7 +254,7 @@ lerna version 24.1.0-alpha0 --no-push --no-git-tag-version --force-publish --exa
254
254
Commit all the changes:
255
255
256
256
``` sh
257
- git commit -a -m " chore: update main branch to Vaadin 24 .1"
257
+ git commit -a -m " chore: update main branch to Vaadin 25 .1"
258
258
```
259
259
260
260
Create a PR to the ` main ` branch ([ example] ( https://github.com/vaadin/web-components/pull/4433 ) ).
0 commit comments