diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d26df5ca9..5386e6a23 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -89,21 +89,15 @@ You can use the following scripts to make sure that the travis-job does not fail - **npm run integration-test** will run integration tests (using old NodeJS versions and integrations with webpack, babel and so on) These tests only work on a Linux-machine with `nvm` installed (for running tests in multiple versions of NodeJS). -## Ember testing - -The current ember distribution should be tested as part of the handlebars release process. This requires building the `handlebars-source` gem locally and then executing the ember test script. - -```sh -npm link -grunt build release -cp dist/*.js $emberRepoDir/bower_components/handlebars/ +## Releasing the latest version -cd $emberRepoDir -npm link handlebars -npm test -``` +Before attempting the release Handlebars, please make sure that you have the following authorizations: -## Releasing the latest version +- Push-access to `wycats/handlebars.js` +- Publishing rights on npmjs.com for the `handlebars` package +- Publishing rights on gemfury for the `handlebars-source` package +- Push-access to the repo for legacy package managers: `components/handlebars` +- Push-access to the production-repo of the handlebars site: `handlebars-lang/handlebarsjs.com-github-pages` _When releasing a previous version of Handlebars, please look into the CONTRIBUNG.md in the corresponding branch._ @@ -130,7 +124,13 @@ in those places still point to the latest version - [The AWS S3 Bucket](https://s3.amazonaws.com/builds.handlebarsjs.com) (check latest-tag) - [RubyGems](https://rubygems.org/gems/handlebars-source) -When everything is OK, the handlebars site needs to be updated to point to the new version numbers. The jsfiddle link should be updated to point to the most recent distribution for all instances in our documentation. +When everything is OK, the **handlebars site** needs to be updated. + +Go to the master branch of the repo [handlebars-lang/handlebarsjs.com-github-pages](https://github.com/handlebars-lang/handlebarsjs.com-github-pages/tree/master) +and make a minimal change to the README. This will invoke a github-action that redeploys +the site, fetching the latest version-number from the npm-registry. +(note that the default-branch of this repo is not the master and regular changes are done +in the `handlebars-lang/docs`-repo). [generator-release]: https://github.com/walmartlabs/generator-release [pull-request]: https://github.com/wycats/handlebars.js/pull/new/master