File tree 3 files changed +22
-86
lines changed
3 files changed +22
-86
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ changelog :
2
+ categories :
3
+ - title : ' 🚀 Features'
4
+ labels :
5
+ - ' feature'
6
+ - ' enhancement'
7
+ - title : ' 🐛 Bug Fixes'
8
+ labels :
9
+ - ' fix'
10
+ - ' bugfix'
11
+ - ' bug'
12
+ - title : ' 📚 Documentation'
13
+ label : ' documentation'
14
+ - title : ' 🔒 Security'
15
+ label : ' security'
16
+ - title : ' 🧰 GitHub Actions'
17
+ label : ' github actions'
18
+ exclude :
19
+ labels :
20
+ - ' skip-changelog'
Original file line number Diff line number Diff line change 1
1
name : LinUtil Release
2
2
3
3
on :
4
- push :
5
- branches : ["main"]
6
4
workflow_dispatch :
7
5
8
6
permissions :
55
53
mv build/x86_64-unknown-linux-musl/release/linutil build/linutil
56
54
mv build/aarch64-unknown-linux-musl/release/linutil build/linutil-aarch64
57
55
58
- - name : Pull latest changes
59
- run : |
60
- git config --global user.email "[email protected] "
61
- git config --global user.name "GitHub Actions"
62
- git pull origin main
63
-
64
56
- uses : stefanzweifel/git-auto-commit-action@v5
65
57
with :
66
58
commit_message : Commit Linutil
@@ -75,28 +67,18 @@ jobs:
75
67
echo "version=$version" >> $GITHUB_ENV
76
68
shell : bash
77
69
78
- - name : Generate Release Notes
79
- id : generate_notes
80
- uses : release-drafter/release-drafter@v6
81
- env :
82
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
83
- with :
84
- config-name : release-drafter.yml
85
- version : ${{ env.version }}
86
-
87
70
- name : Create and Upload Release
88
71
id : create_release
89
72
uses : softprops/action-gh-release@v2
90
73
with :
91
74
tag_name : ${{ env.version }}
92
75
name : Pre-Release ${{ env.version }}
93
76
body : |
94
- ${{ steps.generate_notes.outputs.body }}
95
-
96
77

97
78

98
79
99
- append_body : false
80
+ append_body : true
81
+ generate_release_notes : true
100
82
files : |
101
83
./build/linutil
102
84
./build/linutil-aarch64
You can’t perform that action at this time.
0 commit comments