We use semantic versioning.
- Open
package.json. - Temporarily remove
-devfrom the version number. - Run
$ npm run dist. - Load the dist locally (until we have a staging/test environment) to ensure
the dist works the same as the result from
npm run dev. - Add files in
distto the commit. - Commit with a message as the new version, e.g.,
v0.1.0. - Tag this commit to the same version, e.g.,
v0.1.0. - Push the commit and tags with
git push --tags, and publish to GitHub. - Back to dev work, in
package.json, increment the version number formajor.minor.patch, e.g., a patch would go from0.1.0to0.1.1. Also append-dev. This should yield a version number like0.1.1-dev. - Commit with the message "back to work", and push to GitHub.
- Be sure your public key has been added to
marketing.pylonsproject.org. - Setup remote production:
$ git remote add production ssh://pylons@marketing.pylonsproject.org/home/pylons/repos/pylonsproject.org.git
- Push to remote production:
$ git push production master