|
1 | 1 | [](https://www.npmjs.com/package/@ionic/app-scripts)
|
2 | 2 | [](https://circleci.com/gh/ionic-team/ionic-app-scripts)
|
| 3 | + |
3 | 4 | # Ionic App Scripts
|
4 | 5 |
|
5 | 6 | Helper scripts to get [Ionic apps](https://ionicframework.com/) up and running quickly (minus the config overload).
|
@@ -251,17 +252,27 @@ We welcome any PRs, issues, and feedback! Please be respectful and follow the [C
|
251 | 252 |
|
252 | 253 | We use Node 6, and NPM 5 for contributing.
|
253 | 254 |
|
| 255 | +### Publish a Nightly Build |
| 256 | + |
| 257 | +1. Run `npm run build` to generate the `dist` directory |
| 258 | +2. Run `npm run test` to validate the `dist` works |
| 259 | +3. Tick the `package.json` version |
| 260 | +4. Run `npm run nightly` to generate a nightly build on npm |
| 261 | + |
| 262 | + |
| 263 | + |
254 | 264 | ### Publish a release
|
255 | 265 |
|
256 | 266 | Execute the following steps to publish a release:
|
257 | 267 |
|
258 |
| -1. Run `npm run build` to generate the `dist` directory |
259 |
| -2. Run `npm run test` to validate the `dist` works |
260 |
| -3. Temporarily tick the `package.json` version |
261 |
| -4. Run `npm run changelog` to append the latest additions to the changelog |
262 |
| -5. Manually verify and commit the changelog changes. Often times you'll want to manually add content/instructions |
263 |
| -6. Revert the `package.json` version to the original version |
264 |
| -7. Run `npm version patch` to tick the version and generate a git tag |
265 |
| -8. Run `npm run github-release` to create the github release entry |
266 |
| -9. Run `npm publish` to publish the package to npm |
267 |
| -10. `git push origin master` - push changes to master |
| 268 | +1. Ensure your branch has been merged into `master` |
| 269 | +2. Run `npm run build` to generate the `dist` directory |
| 270 | +3. Run `npm run test` to validate the `dist` works |
| 271 | +4. Temporarily tick the `package.json` version |
| 272 | +5. Run `npm run changelog` to append the latest additions to the changelog |
| 273 | +6. Manually verify and commit the changelog changes. Often times you'll want to manually add content/instructions |
| 274 | +7. Revert the `package.json` version to the original version |
| 275 | +8. Run `npm version patch` to tick the version and generate a git tag |
| 276 | +9. Run `npm run github-release` to create the github release entry |
| 277 | +10. Run `npm publish` to publish the package to npm |
| 278 | +11. `git push origin master` - push changes to master |
0 commit comments