Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Commit 1bc8136

Browse files
committed
chore(readme): update publish instructions
update publish instructions
1 parent d4c175f commit 1bc8136

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,4 +187,12 @@ We welcome any PRs, issues, and feedback! Please be respectful and follow the [C
187187

188188
Execute the following steps to publish a release:
189189

190-
1. Run `npm run release`
190+
1. Run `npm run build` to generate the `dist` directory
191+
2. Run `npm run test` to validate the `dist` works
192+
3. Temporarily tick the `package.json` version
193+
4. Run `npm run changelog` to append the latest additions to the changelog
194+
5. Manually verify the changelog content. Often times you'll want to manually add content/instructions
195+
6. Revert the `package.json` version to the original version
196+
7. Run `npm version patch` to tick the version and generate a git tag
197+
8. Run `npm run github-release` to create the github release entry
198+
9. Run `npm publish` to publish the package to npm

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ionic/app-scripts",
3-
"version": "0.0.44",
3+
"version": "0.0.45",
44
"description": "Scripts for Ionic Projects",
55
"homepage": "http://ionicframework.com/",
66
"author": "Ionic Team <hi@ionic.io> (http://ionic.io)",
@@ -19,12 +19,10 @@
1919
"build": "npm run clean && tsc && npm run sass",
2020
"build-and-test": "npm run build && npm run test",
2121
"changelog": "./node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s",
22-
"changelog-and-commit": "npm run changelog && node ./scripts/commit-changelog.js",
2322
"clean": "rimraf ./dist",
2423
"github-release": "node ./scripts/create-github-release.js",
2524
"lint": "tslint -c ./tslint.json --project ./tsconfig.json",
2625
"nightly": "npm run build && node ./scripts/publish-nightly.js",
27-
"release": "npm run build && npm run test && npm run changelog-and-commit && npm version patch && npm run github-release && npm publish",
2826
"sass": "node-sass ./src/dev-client/sass/ion-dev.scss --output ./bin/ --output-style compressed",
2927
"sass-watch": "npm run sass && node-sass ./src/dev-client/sass/ion-dev.scss --watch --output ./bin/ --output-style compressed",
3028
"test": "jasmine JASMINE_CONFIG_PATH=src/spec/jasmine.config.json || true",

0 commit comments

Comments
 (0)