Skip to content

Commit 2c9b6b4

Browse files
committed
Improved release script
1 parent d09fe0d commit 2c9b6b4

File tree

2 files changed

+205
-2
lines changed

2 files changed

+205
-2
lines changed

package-lock.json

Lines changed: 202 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"eslint": "^5.12.1",
2727
"eslint-config-jaid": "1.10.0",
2828
"jest": "24.0.0-alpha.12",
29+
"opn-cli": "^4.0.0",
2930
"webpack": "^4.29.0",
3031
"webpack-cli": "^3.2.1",
3132
"webpack-config-jaid": "1.16.1"
@@ -37,6 +38,6 @@
3738
"test:dev": "npm run build:dev && jest",
3839
"test:debug": "node --inspect=9229 node_modules/jest/bin/jest.js --runInBand",
3940
"prepare": "jest --clearCache",
40-
"release": "npm run build:prod && npm publish dist && cross-env git tag --sign v$npm_package_version && git push --tags"
41+
"release": "npm run build:prod && npm publish dist && cross-env git tag v$npm_package_version && git push --tags && cross-env opn https://github.com/$npm_package_author_name/$npm_package_name/releases/new?tag=v$npm_package_version"
4142
}
42-
}
43+
}

0 commit comments

Comments
 (0)