mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 08:12:14 +08:00
👷 update changelog ci
This commit is contained in:
parent
cee96d8ab6
commit
962c71ea4e
10
.github/workflows/release-drafter.yml
vendored
10
.github/workflows/release-drafter.yml
vendored
@ -22,10 +22,12 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
# TODO
|
- name: Update Changelog
|
||||||
# - name: Update Changelog
|
uses: docker://nonebot/auto-changelog:master
|
||||||
# run: |
|
with:
|
||||||
# echo ${{ steps.release-drafter.outputs.body }}
|
changelog_file: website/src/pages/changelog.md
|
||||||
|
latest_changes_position: '# 更新日志\n\n'
|
||||||
|
changelog_body: ${{ steps.release-drafter.outputs.body }}
|
||||||
|
|
||||||
release:
|
release:
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -25,9 +25,13 @@ jobs:
|
|||||||
- name: Archive Files
|
- name: Archive Files
|
||||||
run: yarn archive $(poetry version -s)
|
run: yarn archive $(poetry version -s)
|
||||||
|
|
||||||
# TODO
|
- run: echo "TAG_NAME=v$(poetry version -s)" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Archive Changelog
|
- name: Archive Changelog
|
||||||
run: cat CHANGELOG.md
|
uses: docker://nonebot/auto-changelog:master
|
||||||
|
with:
|
||||||
|
changelog_file: website/src/pages/changelog.md
|
||||||
|
archive_title: ${{ env.TAG_NAME }}
|
||||||
|
|
||||||
- name: Push Tag
|
- name: Push Tag
|
||||||
run: |
|
run: |
|
||||||
@ -35,5 +39,5 @@ jobs:
|
|||||||
git config user.email github-actions@github.com
|
git config user.email github-actions@github.com
|
||||||
git add .
|
git add .
|
||||||
git commit -m ":bookmark: Release $(poetry version -s)"
|
git commit -m ":bookmark: Release $(poetry version -s)"
|
||||||
git tag v$(poetry version -s)
|
git tag ${{ env.TAG_NAME }}
|
||||||
git push && git push --tags
|
git push && git push --tags
|
||||||
|
@ -4,7 +4,7 @@ description: Changelog
|
|||||||
|
|
||||||
# 更新日志
|
# 更新日志
|
||||||
|
|
||||||
## Latest Changes
|
## v2.0.0-beta.2
|
||||||
|
|
||||||
- 修复 `receive`, `got` 在参数为空消息时依旧会反复询问
|
- 修复 `receive`, `got` 在参数为空消息时依旧会反复询问
|
||||||
- 修复文档商店分页显示错误
|
- 修复文档商店分页显示错误
|
||||||
@ -17,7 +17,7 @@ description: Changelog
|
|||||||
- 调整项目结构,分离内部定义与用户接口
|
- 调整项目结构,分离内部定义与用户接口
|
||||||
- 新增 Bot 连接事件钩子 (如 `driver.on_bot_connect` ) 的依赖注入
|
- 新增 Bot 连接事件钩子 (如 `driver.on_bot_connect` ) 的依赖注入
|
||||||
|
|
||||||
## v2.0.0b1
|
## v2.0.0-beta.1
|
||||||
|
|
||||||
- 新增 `MessageTemplate` 对于 `str` 普通模板的支持
|
- 新增 `MessageTemplate` 对于 `str` 普通模板的支持
|
||||||
- 移除插件加载的 `NameSpace` 模式
|
- 移除插件加载的 `NameSpace` 模式
|
||||||
|
Loading…
Reference in New Issue
Block a user