Skip to content

Commit a701732

Browse files
authored
fix(doc): Document release steps for admins (#3063)
1 parent 93ba05a commit a701732

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

docs/dev/03-maintaining.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,18 @@ Please, make sure:
3232
- e.g. if the first commit is `fix(web-server): serve binary files` and a second commit is “fix unit tests broken in the previous commit”, you should squash them into a single commit.
3333
- It’s alright to ask the author of the pull request to fix any of the above.
3434

35+
## Releasing npm
36+
For core collaborators with admin rights.
37+
- Be on a good network that won't go down in the middle.
38+
- Make sure you are sync to upstream master.
39+
- `echo $GH_TOKEN`
40+
- If not set, set GH_TOKEN from https://github.com/settings/tokens/new
41+
- `npm login karmarunnerbot`
42+
- The password is known to authorized releasers.
43+
- `grunt release`
44+
If the release fails, check the state of the git tags pushed to github. You may have to delete one.
45+
46+
3547
## Ownership
3648
Every project has one or more owners (or “maintainers”), listed in `owners` field of the
3749
`package.json`. Typically, owners have push permissions.

0 commit comments

Comments
 (0)