Skip to content

Commit

Permalink
ci: 更改 release-it 自动修订版本号
Browse files Browse the repository at this point in the history
  • Loading branch information
baiwumm committed Apr 4, 2024
1 parent 1b86fbb commit 04e0490
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@
{ "type": "revert", "section": "⏪ Reverts | 回退" },
{ "type": "build", "section": "👷‍ Build System | 构建" },
{ "type": "ci", "section": "🔧 Continuous Integration | CI 配置" },
{ "type": "config", "section": " CONFIG | 配置" }
{ "type": "config", "section": "🔨 CONFIG | 配置" }
]
},
"infile": "CHANGELOG.md"
"infile": "CHANGELOG.md",
"ignoreRecommendedBump": true,
"strictSemVer": true
}
},
"git": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lint:style": "stylelint src/**/*.{css,less,vue} --fix",
"pre-commit": "lint-staged",
"commitlint": "commitlint --config commitlint.config.cjs -e -V",
"release": "release-it"
"release": "release-it patch"
},
"dependencies": {
"nuxt": "^3.11.1",
Expand Down

0 comments on commit 04e0490

Please sign in to comment.