diff --git a/RELEASING.md b/RELEASING.md new file mode 100644 index 0000000..348cf24 --- /dev/null +++ b/RELEASING.md @@ -0,0 +1,45 @@ +# Releasing Frontail + +After all [pull requests](https://github.com/mthenw/frontail/pulls) for a release have been merged and all [Travis CI builds](https://travis-ci.org/mthenw/frontail) are green, you may create a release as follows: + +1. If you haven't already, switch to the master branch, ensure that you have no changes, and pull from origin. + + ```sh + $ git checkout master + $ git status + $ git pull master --rebase + ``` + +1. Edit the `package.json` file changing `version` field to your new release version and run `npm i`. + +1. Commit your changes. + + ```sh + $ git commit -am "Release " + ``` + +1. Tag the version. + + ```sh + $ git tag v + ``` + +1. Push the commit and tag. + + ```sh + $ git push origin head --tags + ``` + +1. Travis CI will publish new version to NPM. + +1. Publish new release on GitHub with [`release`](https://github.com/zeit/release) package. + + ```sh + $ npx release -P + ``` + +1. Upload binaries + + ```sh + $ npm run pkg + ``` \ No newline at end of file