Skip to content

Commit a0fbdca

Browse files
committed
script
1 parent 55ddffb commit a0fbdca

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,12 @@
2020
"webdriver": "webdriver-manager update",
2121
"lint": "ng lint",
2222
"schematics": "tsc -p projects/ngx-pwa/local-storage/tsconfig.schematics.json && copyfiles --up 3 projects/ngx-pwa/local-storage/schematics/collection.json projects/ngx-pwa/local-storage/schematics/migration.json projects/ngx-pwa/local-storage/schematics/**/schema.json dist/ngx-pwa/local-storage",
23-
"release:patch": "VERSION=patch npm run release && npm run githubrelease",
24-
"release:minor": "VERSION=minor npm run release && npm run githubrelease",
25-
"release:major": "VERSION=major npm run release && npm run githubrelease",
23+
"release:patch": "VERSION=patch npm run release",
24+
"release:minor": "VERSION=minor npm run release",
25+
"release:major": "VERSION=major npm run release",
2626
"release:premajor": "VERSION=premajor TAG=next npm run release",
2727
"release:prerelease": "VERSION=prerelease TAG=next npm run release",
28-
"release": "if test $VERSION; then npm run build && cd projects/ngx-pwa/local-storage && npm version $VERSION --git-tag-version false && git add package.json && cd ../../.. && git commit -m \"release\" && npm version $VERSION && npm run build && npm publish ./dist/ngx-pwa/local-storage --access public --tag ${TAG:-latest} && git push && git push --tags; fi",
29-
"githubrelease": "CHANGELOG=$(sed -n \"/^## $npm_package_version/,/^## /p\" CHANGELOG.md | sed '1d;$d') && gh release create v$npm_package_version --title v$npm_package_version --notes \"$CHANGELOG\""
28+
"release": "if test $VERSION; then npm run build && cd projects/ngx-pwa/local-storage && npm version $VERSION --git-tag-version false && git add package.json && cd ../../.. && git commit -m \"release\" && npm version $VERSION && npm run build && npm publish ./dist/ngx-pwa/local-storage --access public --tag ${TAG:-latest} && git push; fi"
3029
},
3130
"private": true,
3231
"dependencies": {

0 commit comments

Comments
 (0)