Skip to content

Commit d64d93c

Browse files
committed
[#1421] Correct order of release steps
1 parent de4e7d0 commit d64d93c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

developer_docs/release.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ This project release guide is based on
1313
1. `$ git checkout develop`
1414
2. `$ git checkout -b release-<newversion>`
1515
3. Do all of the release branch testing necessary. This could be as simple as running `npm test:ci`, or it could take user testing over a few days.
16-
4. `$ git checkout release`
17-
5. `$ git merge --no-ff release-<newversion>`
18-
6. `$ npm version <newversion>` (see [npm-version](https://docs.npmjs.com/cli/version) for valid values of <newversion>).
16+
4. `$ npm version <newversion>` (see [npm-version](https://docs.npmjs.com/cli/version) for valid values of <newversion>).
17+
5. `$ git checkout release`
18+
6. `$ git merge --no-ff release-<newversion>`
1919
7. `$ git push && git push --tags`
2020
8. `$ git checkout develop`
21-
9. `$ git merge --no-ff release-<newversion>`
22-
10. Create a release on GitHub. You can do this in one of two ways:
21+
9. Create a release on GitHub. Make sure that you release from the `release` branch! You can do this in one of two ways:
2322
1. (Preferred) Use the [`hub` command line tool](https://hub.github.com/). You can automate adding all commit messages since the last release with the following command:
2423
```sh
2524
$ hub release create -d -m "<newversion>" -m "$(git log `git describe --tags --abbrev=0 HEAD^`..HEAD --oneline)" <newversion>`
2625
```
2726
Note that this creates a draft release, which you can then edit on GitHub. This allows you to create release notes from the list of commit messages, but then edit these notes as you wish.
2827
2. [Draft a new release on Github](https://github.com/processing/p5.js-web-editor/releases/new).
28+
10. `$ git merge --no-ff release-<newversion>`
2929

3030
Travis CI will automatically deploy the release to production, as well as push a production tagged Docker image to DockerHub.
3131

0 commit comments

Comments
 (0)