We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🌰 1.0.0-alpha < 1.0.0-alpha.1 < 1.0.0-alpha.beta < 1.0.0-beta < 1.0.0-beta.2 < 1.0.0-beta.11 < 1.0.0-rc.1 < 1.0.0
standard-version 可以进行语义化版本发布和 CHANGELOG 生成
npm install -g standard-version # OR npm install --save-dev standard-version
在 package.json 的 scripts 配置 "release": "standard-version"
package.json
scripts
"release": "standard-version"
# 发布第一版 npm run release -- --first-release # Pre-Release npm run release -- --prerelease # alpha / beta / rc npm run release -- --prerelease alpha # major minor patch npm run release -- --release-as major # 指定版本 npm run release -- --release-as x.y.z
语义化版本 2.0.0 语义版本控制程序 semver
The text was updated successfully, but these errors were encountered:
No branches or pull requests
语义化版本控制
语义化版本说明
版本号优先级排序
🌰 1.0.0-alpha < 1.0.0-alpha.1 < 1.0.0-alpha.beta < 1.0.0-beta < 1.0.0-beta.2 < 1.0.0-beta.11 < 1.0.0-rc.1 < 1.0.0
使用 standard-version
standard-version 可以进行语义化版本发布和 CHANGELOG 生成
安装
npm install -g standard-version # OR npm install --save-dev standard-version
使用
在
package.json
的scripts
配置"release": "standard-version"
相关资料
语义化版本 2.0.0
语义版本控制程序 semver
The text was updated successfully, but these errors were encountered: