Skip to content

Commit 967f69d

Browse files
committed
feat: 脚本优化
1 parent bd45531 commit 967f69d

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ jobs:
5252
next
5353
}
5454
found { print }
55-
' CHANGELOG.md > RELEASE_NOTES.md
55+
' CHANGELOG.md >> RELEASE.md
5656
57-
# 查看 RELEASE_NOTES.md
58-
- name: RELEASE_NOTES.md
59-
run: cat RELEASE_NOTES.md
57+
# 查看 RELEASE.md
58+
- name: RELEASE.md
59+
run: cat RELEASE.md
6060

6161
# 安装所有依赖
6262
- name: Install
@@ -95,7 +95,7 @@ jobs:
9595
with:
9696
tag: v${{ steps.read_version.outputs.version}}
9797
name: v${{ steps.read_version.outputs.version}}
98-
bodyFile: RELEASE_NOTES.md
98+
bodyFile: RELEASE.md
9999
artifacts: "code.editor.x86.fpk,code.editor.arm.fpk"
100100
token: ${{ secrets.GITHUB_TOKEN }}
101101

RELEASE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[更新日志](CHANGELOG.md)
2+
3+
**本次更新**

0 commit comments

Comments
 (0)