-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
## Workflow releasing a new version | ||
|
||
1. Update: pull latest master with `git pull` | ||
2. Cut release: Run `npm run cut-release {version-type}`. Example: | ||
2. Cut release: Run `npm run cut-release`. Example: | ||
|
||
```shell | ||
# with minor | ||
npm run cut-release minor | ||
# automatic versioning | ||
npm run cut-release | ||
# manual version | ||
npm run cut-release -- -- --release-as minor | ||
npm run cut-release -- -- --release-as 1.x.x-beta | ||
``` | ||
3. Commit: `git add .` and then `git commit chore(release): prepare release XXX` where `XXX` is the new version | ||
4. Tag: `git tag -a XXX` where `XXX` is the version | ||
4. Tag: `git tag -a XXX -m 'prepare release XXX'` where `XXX` is the version | ||
5. Push to remote repo: `git push --follow-tags` | ||
6. Publish: Run `npm publish` to release the new version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters