Skip to content

Commit

Permalink
Update version number in package.json.
Browse files Browse the repository at this point in the history
  • Loading branch information
HectorAE committed Oct 27, 2020
1 parent 8abf90a commit ea340f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions Releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ This NPM package has a defined release process, documented here.
1. When the time comes to release a new version, write up release notes for the
new version. These go in the [changelog](./ChangeLog.md), documenting any
changes made since the last release.
2. Check that the `develop` branch is ahead of `master` (i.e. it is a fast
2. Update the version number in `package.json`.
3. Check that the `develop` branch is ahead of `master` (i.e. it is a fast
forward of `master`) to ensure that there are no dangling features missing
from `develop`.
3. Cut a release (or release candidate) branch from `develop` with a properly
4. Cut a release (or release candidate) branch from `develop` with a properly
formatted branch name. For example if the new version number is 1.5.7, the
appropriate branch name is `release/1.5.7`.
4. The full quality assurance (QA) testing process should be performed on this
5. The full quality assurance (QA) testing process should be performed on this
release branch. If QA uncovers release-blocking issues, and a quick patch is
needed, new commits may be applied directly to the release branch. (After
the release is pushed to `master`, `develop` can be rebased on `master`.)
Expand All @@ -24,13 +25,13 @@ This NPM package has a defined release process, documented here.
assume a zero-indexed value of N; in other words, the very first release
branch for a particular version is considered equivalent to `-rc0` regardless
of whether it was actually named so.
5. Once QA passes, merge the release branch into `master`, tag, and push to
6. Once QA passes, merge the release branch into `master`, tag, and push to
GitHub. The resulting merge commit should be tagged with a properly formatted
annotated tag, e.g. `v1.5.7` for the previously given version number.
```
git checkout master
git tag -a vX.Y.Z
git push --tags origin
```
6. Finally, the `yarn publish` command (for Yarn Classic/v1) can be used to pack
7. Finally, the `yarn publish` command (for Yarn Classic/v1) can be used to pack
and upload the new release to the NPM registry.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hw-app-ckb",
"version": "0.1.0",
"version": "0.1.1",
"description": "Ledger Hardware Wallet Nervos CKB API",
"keywords": [
"Ledger",
Expand Down

0 comments on commit ea340f3

Please sign in to comment.