mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2025-04-02 12:51:50 +00:00
Add development notes
This commit is contained in:
parent
7296674473
commit
f45098d543
37
devNotes.md
Normal file
37
devNotes.md
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# Notes
|
||||||
|
|
||||||
|
|
||||||
|
## Releasing
|
||||||
|
|
||||||
|
At branch `development` ready to release to npm:
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
# Make sure ci tests pass
|
||||||
|
$ npm run ci
|
||||||
|
|
||||||
|
# See the current version
|
||||||
|
$ npm version
|
||||||
|
|
||||||
|
# Update the changlog and perform cleanup on it
|
||||||
|
$ git changelog --tag <next version>
|
||||||
|
|
||||||
|
$ git add History.md
|
||||||
|
$ git commit -m "Update changelog for `v <next version>`"
|
||||||
|
|
||||||
|
$ npm version <next version>
|
||||||
|
|
||||||
|
# Can automate from here onwards
|
||||||
|
|
||||||
|
# Publish it to npm
|
||||||
|
$ npm run release
|
||||||
|
|
||||||
|
# Merge changes into master
|
||||||
|
$ git checkout master
|
||||||
|
$ git merge development
|
||||||
|
|
||||||
|
|
||||||
|
$ git push --follow-tags
|
||||||
|
|
||||||
|
# Return to development
|
||||||
|
$ git checkout development
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user