@@ -89,6 +89,9 @@ release team will need to do the following:
89
89
90
90
``` bash
91
91
git checkout main
92
+ ```
93
+
94
+ ``` bash
92
95
git pull upstream main
93
96
```
94
97
@@ -105,6 +108,9 @@ chore(release): v11.2.0-rc.0
105
108
106
109
``` bash
107
110
git tag -a v11.2.0-rc.0 -m ' v11.2.0-rc.0'
111
+ ```
112
+
113
+ ``` bash
108
114
git push upstream v11.2.0-rc.0
109
115
```
110
116
@@ -139,6 +145,9 @@ this stage, the release team will do the following:
139
145
140
146
``` bash
141
147
git checkout main
148
+ ```
149
+
150
+ ``` bash
142
151
git pull upstream main
143
152
```
144
153
@@ -155,6 +164,9 @@ chore(release): v11.10.0
155
164
156
165
``` bash
157
166
git tag -a v11.2.0 -m ' v11.2.0'
167
+ ```
168
+
169
+ ``` bash
158
170
git push upstream v11.2.0
159
171
```
160
172
@@ -264,7 +276,7 @@ cases, follow these steps below to ensure a proper patch release:
264
276
- [ ] Checkout to the tag of the release you want to publish a patch for (most
265
277
likely the latest release tag, to find the previous release, view the
266
278
[ tag list] ( https://github.com/carbon-design-system/carbon/tags ) ).
267
- ` git checkout release/ vX.Y.Z `
279
+ ` git checkout vX.Y.Z `
268
280
- [ ] Create a new release branch with the intended version to be released.
269
281
Should be the same release that we previously checked out to incremented
270
282
by +0.0.1 to account for a new patch version.
@@ -292,7 +304,13 @@ cases, follow these steps below to ensure a proper patch release:
292
304
293
305
``` bash
294
306
git add -A
307
+ ```
308
+
309
+ ``` bash
295
310
git commit -m ' chore(release): vX.Y.Z'
311
+ ```
312
+
313
+ ``` bash
296
314
git push --set-upstream origin release/vX.Y.Z
297
315
```
298
316
@@ -310,7 +328,10 @@ cases, follow these steps below to ensure a proper patch release:
310
328
311
329
``` bash
312
330
git tag -a vX.Y.Z -m ' vX.Y.Z'
313
- git push upstream vX.Y.Z
331
+ ```
332
+
333
+ ` ` ` bash
334
+ git push upstream refs/tags/vX.Y.Z
314
335
` ` `
315
336
316
337
- [ ] Verify that your push triggered a release action
@@ -326,6 +347,7 @@ cases, follow these steps below to ensure a proper patch release:
326
347
- Do NOT do this for the <kbd>carbon-components</kbd> package.
327
348
- You need to use the individual generatied version number for the package
328
349
here, not the released github tag version.
350
+ - Ensure you log into the npm cli as `carbon-bot` to avoid auth issues
329
351
330
352
- [ ] for each package (replace <kbd>carbon-components-react</kbd> with the
331
353
package name):
@@ -404,7 +426,13 @@ yarn lerna version patch \
404
426
405
427
` ` ` bash
406
428
git add -A
429
+ ` ` `
430
+
431
+ ` ` ` bash
407
432
git commit -m ' chore(release): vX.Y.Z'
433
+ ` ` `
434
+
435
+ ` ` ` bash
408
436
git push --set-upstream origin release/vX.Y.Z
409
437
` ` `
410
438
@@ -417,6 +445,9 @@ git push --set-upstream origin release/vX.Y.Z
417
445
418
446
` ` ` bash
419
447
git checkout v10
448
+ ` ` `
449
+
450
+ ` ` ` bash
420
451
git pull upstream v10
421
452
` ` `
422
453
@@ -436,6 +467,9 @@ chore(release): v10.59.1
436
467
437
468
```bash
438
469
git tag -a vX.Y.Z -m 'vX.Y.Z'
470
+ ```
471
+
472
+ ``` bash
439
473
git push upstream vX.Y.Z
440
474
```
441
475
@@ -500,9 +534,21 @@ environment as long as you have push access to the repo.
500
534
501
535
``` bash
502
536
git checkout main
537
+ ```
538
+
539
+ ``` bash
503
540
git pull upstream main
541
+ ```
542
+
543
+ ``` bash
504
544
git checkout -b ` release/vX.Y.Z`
545
+ ```
546
+
547
+ ``` bash
505
548
yarn install
549
+ ```
550
+
551
+ ``` bash
506
552
yarn build
507
553
```
508
554
@@ -514,7 +560,13 @@ yarn build
514
560
515
561
``` bash
516
562
git add .
563
+ ```
564
+
565
+ ``` bash
517
566
git commit -m " chore(release): vX.Y.Z"
567
+ ```
568
+
569
+ ``` bash
518
570
git push
519
571
```
520
572
@@ -551,6 +603,8 @@ package which does not contain a compiled stylesheet.
551
603
To fix, re-apply the ` latest ` tag to ` v10.x ` instead of ` v11.x ` . Any
552
604
non-versioned unpkg links should now resolve to
` [email protected] ` again.
553
605
606
+ - Ensure you log into the npm cli as ` carbon-bot ` to avoid auth issues.
607
+
554
608
``` bash
555
609
npm dist-tag add
[email protected] latest
556
610
```
0 commit comments