Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 1aa2045

Browse files
committed
doc: add aegir commands to release template
Documents aegir commands to create and update release candidates.
1 parent 191060f commit 1aa2045

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

doc/RELEASE_ISSUE_TEMPLATE.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,14 @@
2929
- [ ] **Stage 1 - Internal Testing**
3030
- [ ] Publish a release candidate to npm
3131
```sh
32-
# Clean out node_modules and re-install dependencies
33-
# (Ensures you have the latest versions for the browser build)
34-
rm -rf node_modules package-lock.json
35-
npm install
36-
37-
# Minor prerelease (e.g. 0.33.1 -> 0.34.0-rc.0)
38-
npx aegir release --type preminor --preid rc --dist-tag next
39-
40-
# Increment prerelease (e.g. 0.34.0-rc.0 -> 0.34.0-rc.1)
41-
npx aegir release --type prerelease --preid rc --dist-tag next
32+
# All succesful builds of master update the `build/last-successful branch which contains a npm-shrinkwrap.json.
33+
# This command checks that branch out, installs it's dependencies using `npm ci`, creates a release branch
34+
# (e.g. v0.34.x), updates the minor prerelease version (e.g. 0.33.1 -> 0.34.0-rc.0) and publishes it to npm
35+
npx aegir publish-rc
36+
37+
# Later we may wish to update the rc - this command checks out the release branch, installs it's dependencies
38+
# `npm ci`, increments the prerelease version (e.g. 0.34.0-rc.0 -> 0.34.0-rc.1) and publishes it to npm
39+
npx aegir update-rc v0.34.x
4240
```
4341
- Network Testing:
4442
- test lab things - TBD

0 commit comments

Comments
 (0)