Skip to content

Commit

Permalink
ci(release): 更新 CHANGELOG 生成工具并修正版本号
Browse files Browse the repository at this point in the history
- 将 conventional-changelog-cli 替换为 changelogen@latest
- 修正 CHANGELOG.md 中的版本号和提交信息
- 更新 README 和 README-zh 中的当前版本信息
  • Loading branch information
h7ml committed Dec 17, 2024
1 parent 6047ce1 commit e92ce71
Show file tree
Hide file tree
Showing 5 changed files with 1,412 additions and 546 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Generate Changelog
run: |
npx conventional-changelog-cli -p angular -i CHANGELOG.md -s -r 0 || echo "Changelog generation failed"
npx changelogen@latest --release --bump || echo "Changelog generation failed"
- name: Create Release
id: create_release
Expand Down
33 changes: 8 additions & 25 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## v1.0.10

[compare changes](https://github.com/h7ml/ai-markdown-translator/compare/v1.0.8...v1.0.10)
[compare changes](https://github.com/h7ml/ai-markdown-translator/compare/v1.0.10...v1.0.10)

### 💅 Refactors

Expand All @@ -12,7 +12,7 @@

### 🏡 Chore

- **release:** Update CHANGELOG for v1.0.8 [skip ci] ([d17947d](https://github.com/h7ml/ai-markdown-translator/commit/d17947d))
- **release:** Update CHANGELOG for v1.0.10 [skip ci] ([d17947d](https://github.com/h7ml/ai-markdown-translator/commit/d17947d))

### ❤️ Contributors

Expand All @@ -21,7 +21,7 @@

## v1.0.9

[compare changes](https://github.com/h7ml/ai-markdown-translator/compare/v1.0.8...v1.0.9)
[compare changes](https://github.com/h7ml/ai-markdown-translator/compare/v1.0.10...v1.0.9)

### 📖 Documentation

Expand All @@ -30,53 +30,36 @@

### 🏡 Chore

- **release:** Update CHANGELOG for v1.0.8 [skip ci] ([d17947d](https://github.com/h7ml/ai-markdown-translator/commit/d17947d))
- **release:** Update CHANGELOG for v1.0.10 [skip ci] ([d17947d](https://github.com/h7ml/ai-markdown-translator/commit/d17947d))

### ❤️ Contributors

- GitHub Action ([@dextr7](http://github.com/dextr7))

## [1.0.7](https://github.com/h7ml/ai-markdown-translator/compare/v1.0.6...v1.0.7) (2024-12-14)


### Features

* 优化 CLI 工具的输出文件处理逻辑 ([4bc6f4b](https://github.com/h7ml/ai-markdown-translator/commit/4bc6f4b4e25488d6f4740fb0b739d10a7dc69d01))


- 优化 CLI 工具的输出文件处理逻辑 ([4bc6f4b](https://github.com/h7ml/ai-markdown-translator/commit/4bc6f4b4e25488d6f4740fb0b739d10a7dc69d01))

## [1.0.6](https://github.com/h7ml/ai-markdown-translator/compare/v1.0.5...v1.0.6) (2024-12-11)



## [1.0.5](https://github.com/h7ml/ai-markdown-translator/compare/v1.0.4...v1.0.5) (2024-12-11)


### Features

* 添加版本号显示功能并更新版本信息 ([0dad053](https://github.com/h7ml/ai-markdown-translator/commit/0dad0536db4391ccc2ac9ed4c22fde732aadd5b7))


- 添加版本号显示功能并更新版本信息 ([0dad053](https://github.com/h7ml/ai-markdown-translator/commit/0dad0536db4391ccc2ac9ed4c22fde732aadd5b7))

## [1.0.4](https://github.com/h7ml/ai-markdown-translator/compare/v1.0.3...v1.0.4) (2024-12-10)


### Bug Fixes

* **version:** 更新软件包版本至 1.0.4 ([4969cf0](https://github.com/h7ml/ai-markdown-translator/commit/4969cf013a2716788743f65fb47194973b3fee3a))


- **version:** 更新软件包版本至 1.0.4 ([4969cf0](https://github.com/h7ml/ai-markdown-translator/commit/4969cf013a2716788743f65fb47194973b3fee3a))

## [1.0.3](https://github.com/h7ml/ai-markdown-translator/compare/v1.0.2...v1.0.3) (2024-12-10)



## [1.0.2](https://github.com/h7ml/ai-markdown-translator/compare/466d70df6f9a3d749be14648ba56f73b7120b798...v1.0.2) (2024-12-10)


### Features

* 增加 npx 支持并优化用户体验 ([466d70d](https://github.com/h7ml/ai-markdown-translator/commit/466d70df6f9a3d749be14648ba56f73b7120b798))



- 增加 npx 支持并优化用户体验 ([466d70d](https://github.com/h7ml/ai-markdown-translator/commit/466d70df6f9a3d749be14648ba56f73b7120b798))
10 changes: 1 addition & 9 deletions README-zh.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
这是合并后的`ai-markdown-translator`文档的修订版本,包括了`npx``./ai-markdown-translator`的示例:

---

# ai-markdown-translator

<div>
Expand Down Expand Up @@ -173,7 +169,7 @@ npx ai-markdown-translator -i example.md -o translated_example.md -l "日语"

## 版本信息

- **当前版本**: 1.0.8
- **当前版本**: 1.0.10
- **NPM 包**: [ai-markdown-translator](https://www.npmjs.com/package/ai-markdown-translator)

## CI 信息
Expand All @@ -192,7 +188,3 @@ npx ai-markdown-translator -i example.md -o translated_example.md -l "日语"
## 支持

如果您遇到任何问题或有任何疑问,请在此仓库中打开一个问题。

---

此版本将`npx`和独立可执行文件(`./ai-markdown-translator`)的使用示例合并为一个统一的部分。如果您需要进一步调整,请告诉我!
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ npx ai-markdown-translator -i example.md -o translated_example.md -l "Japanese"

## Version Information

- **Current Version**: 1.0.8
- **Current Version**: 1.0.10
- **NPM Package**: [ai-markdown-translator](https://www.npmjs.com/package/ai-markdown-translator)

## CI Information
Expand Down
Loading

0 comments on commit e92ce71

Please sign in to comment.