Skip to content

Commit fc9c8d0

Browse files
committed
updating release scripts for 1.x-legacy
1 parent dde5e12 commit fc9c8d0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,12 @@
1616
"scripts": {
1717
"preversion": "npm test && npm run build",
1818
"version": "git commit -am \"Update version number\" && git checkout -b release && git add -f dist/",
19-
"postpublish": "git push --tags && git checkout master && git branch -D release && git push",
19+
"postpublish": "git push --tags && git checkout - && git branch -D release && git push",
2020
"testee": "testee test.html --browsers firefox",
2121
"test": "npm run detect-cycle && npm run jshint && npm run testee",
2222
"jshint": "jshint ./*.js --config",
23-
"release:patch": "npm version patch && npm publish",
24-
"release:minor": "npm version minor && npm publish",
25-
"release:major": "npm version major && npm publish",
23+
"release:patch": "npm version patch && npm publish --tag 1.x-legacy",
24+
"release:minor": "npm version minor && npm publish --tag 1.x-legacy",
2625
"build": "node build.js",
2726
"develop": "done-serve --static --develop --port 8080",
2827
"detect-cycle": "detect-cyclic-packages --ignore done-serve"

0 commit comments

Comments
 (0)