Skip to content

Commit 9428450

Browse files
committed
npm/yarn: Add script for incrementing alpha prerelease
E.g.: 0.22.0-alpha.0 to 0.22.0-alpha.1
1 parent 34afdc2 commit 9428450

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"test:validation": "jest tests/cli/validation.test.js --verbose",
4141
"release:patch": "npm version patch && npm publish && git push origin master && git push --tags",
4242
"release:minor": "npm version minor && npm publish && git push origin master && git push --tags",
43-
"release:alpha:minor": "npm version preminor --preid alpha && npm publish --tag alpha && git push origin master && git push --tags"
43+
"release:alpha:minor": "npm version preminor --preid alpha && npm publish --tag alpha && git push origin master && git push --tags",
44+
"release:alpha:prerelease": "npm version prerelease --preid alpha && npm publish --tag alpha && git push origin master && git push --tags"
4445
}
4546
}

0 commit comments

Comments
 (0)