You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to fast-forward the `mochajs.org` branch _before_ running `npm publish`
or people might look at out-of-date docs
Signed-off-by: Christopher Hiller <[email protected]>
Copy file name to clipboardExpand all lines: MAINTAINERS.md
+5-7Lines changed: 5 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -347,16 +347,14 @@ _It's easier to release often._
347
347
1. Push `master` to `origin` with your new tag; e.g. `git push origin master --tags`
348
348
1. Copy & paste the `CHANGELOG.md` lines to a new GitHub "release". Save release as draft.
349
349
1. Meanwhile, you can check [the build](https://travis-ci.org/mochajs/mocha) on Travis-CI and [AppVeyor](https://ci.appveyor.com/project/boneskull/mocha).
350
-
1. Once the build is green, and you're satisfied with the release notes, open your draft release on GitHub, then click "publish."
350
+
1. Once the build is green, you'll want to trigger an update of `mochajs.org`:
351
+
1._If you're doing a prerelease_, fast-forward the `next` branch to `master`, and push it. This updates [https://next.mochajs.org](https://next.mochajs.org). That's all.
352
+
1._If this is NOT a prerelease_, fast-forward the `mochajs.org` branch to `master` and push it. This updates [https://mochajs.org](https://mochajs.org).
353
+
1._If this is a "final" release_ (the first release of a major _after_ one or more prereleases) then remove the `next` tag from npm via `npm dist-tag rm next`.
354
+
1. Finally, you're satisfied with the release notes, open your draft release on GitHub, then click "publish."
351
355
1. Back in your working copy, run `npm publish`. _If you're doing a prerelease, ensure that you use `--tag=next`._
352
356
1. Announce the update on Twitter or just tell your dog or something. New releases will be automatically tweeted by [@b0neskull](https://twitter.com/b0neskull) via a feed subscription to Mocha's "releases" page on GitHub.
353
357
354
-
In addition to above, you'll need to ensure the docs at [https://mochajs.org](https://mochajs.org) are updated:
355
-
356
-
1._If you're doing a prerelease_, fast-forward the `next` branch to `master`, and push it. This updates [https://next.mochajs.org](https://next.mochajs.org). That's all.
357
-
1._If this is NOT a prerelease_, fast-forward the `mochajs.org` branch to `master` and push it. This updates [https://mochajs.org](https://mochajs.org).
358
-
1._If this is a "final" release_ (the first release of a major _after_ one or more prereleases) then remove the `next` tag from npm via `npm dist-tag rm next`.
0 commit comments