File tree 2 files changed +15
-4
lines changed
2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 33
33
path : node_modules/.cache/turbo
34
34
key : turbo-cache-${{ runner.os }}
35
35
36
- # generate current release changelog
37
- - run : pnpm jake release:changelog
38
-
39
36
# electron build
40
37
- run : pnpm dist:mac
41
38
@@ -50,11 +47,19 @@ jobs:
50
47
# use
51
48
# - run: echo "${{steps.github-script.outputs.id}}"
52
49
50
+ # generate current release changelog
51
+ # - run: pnpm jake release:changelog
52
+
53
+ # release with changelog
54
+ - run : pnpx changelogithub@0
55
+ env :
56
+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
57
+
53
58
# create release & upload to release
54
59
- name : Release
55
60
uses : softprops/action-gh-release@v2
56
61
with :
57
- body_path : CHANGELOG.temp.md
62
+ # body_path: CHANGELOG.temp.md
58
63
fail_on_unmatched_files : true
59
64
files : |
60
65
./dist/latest-mac.yml
Original file line number Diff line number Diff line change 9
9
*
10
10
*
11
11
* 使用本地 build 并上传, jake release 即可.
12
+ *
13
+ * 2024-06-11
14
+ * 使用 github actions 自动 build / changelog / release
15
+ * 步骤:
16
+ * 1. npm version patch or minor
17
+ * 2. git push origin --all && git push origin --tags
12
18
*/
13
19
14
20
import log from 'fancy-log'
You can’t perform that action at this time.
0 commit comments