File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -44,10 +44,15 @@ Only the first 2 commits should be cherry picked to the patch branch, as the las
44
44
## Shepparding
45
45
46
46
As commits are cherry-picked when PRs are merged, creating the release should be a matter of updating the version
47
- numbers. This can be done with the following command (for patch):
47
+ numbers. This can be done with the following command.
48
+
49
+ See ` scripts/release.ts ` for the full list of release types, e.g. patch updates the third number per semver.
48
50
49
51
``` bash
50
- devkit-admin release patch --force
52
+ devkit-admin release patch --force # replace with minor-beta etc.
53
+ git commit -a -m ' release: vXX'
54
+ git tag ' vXX'
55
+ git push upstream && git push upstream --tags
51
56
```
52
57
53
58
### Publishing
@@ -68,13 +73,14 @@ devkit-admin publish --tag next
68
73
69
74
### Release Notes
70
75
71
- Running the following command will output the release notes on stdout between v1.2.3 and 1.2.4:
76
+ ` devkit-admin changelog ` takes ` from ` and ` to ` arguments which are any valid git ref.
77
+ For example, running the following command will output the release notes on stdout between v1.2.3 and 1.2.4:
72
78
73
79
``` bash
74
80
devkit-admin changelog --from=v1.2.3 --to=v1.2.4
75
81
```
76
82
77
- Copy paste the output (you can use ` | pbcopy ` on MacOS) and create the release notes on github for the tag just
83
+ Copy paste the output (you can use ` | pbcopy ` on MacOS or ` |xclip ` on Linux ) and create the release notes on github for the tag just
78
84
released. If you have an API token for GitHub you can create a draft automatically by using the ` --githubToken ` flag.
79
85
You just have then to confirm the draft.
80
86
You can’t perform that action at this time.
0 commit comments