Skip to content

Commit

Permalink
chore(release): v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzhiwei committed Aug 25, 2023
1 parent 81309e3 commit 0e0e3fb
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 17 deletions.
1 change: 1 addition & 0 deletions .cz-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
module.exports = {
types: [
{ value: '🚀 新增 ', name: '新增: 新的内容' },
{ value: '📦 版本 ', name: '新增: 发布新的版本' },
{ value: '🐛 修复 ', name: '修复: 修复一个Bug' },
{ value: '📝 文档 ', name: '文档: 变更的只有文档' },
{ value: '🏠 格式 ', name: '格式: 空格, 分号等格式修复' },
Expand Down
24 changes: 10 additions & 14 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
{
"git": {
"tag": true,
"tagName": "v${version}",
"tagAnnotation": "Release %s",
"commit": true,
"commitMessage": "版本更新: release %s",
"commitArgs": ["-S"],
"commitMessage": "chore(release): v${version}",
"push": true,
"pushArgs": ["--follow-tags"],
"requireCleanWorkingDir": false,
"requireCommits": false
"commit": true,
"tag": true,
"requireCommits": false,
"requireCleanWorkingDir": false
},
"github": {
"release": true,
"allowSameVersion": true,
"ignoreVersion": true,
"draft": false
},
"npm": {
"publish": true,
"allowSameVersion": true,
"ignoreVersion": true
"publish": false,
"ignoreVersion": false
},
"hooks": {
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
}
}
2 changes: 1 addition & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ lastUpdated: true
outline: 1
---

# 🌈 1.0.0 **(2023-08-24)**
# 🌈 1.2.0 **(2023-08-24)**

## 🚀 新增

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "warbler-js",
"version": "1.0.0",
"version": "1.2.0",
"description": "A JavaScript utility library , JavaScript 实用工具库",
"main": "src/index.js",
"scripts": {
Expand All @@ -14,7 +14,8 @@
"preview": "vitepress preview docs",
"release:major": "release-it --increment major",
"release:minor": "release-it --increment minor",
"release:patch": "release-it --increment patch"
"release:patch": "release-it --increment patch",
"release": "release-it --release-as 1.2.0"
},
"keywords": [
"JavaScript",
Expand Down

0 comments on commit 0e0e3fb

Please sign in to comment.