File tree Expand file tree Collapse file tree 2 files changed +79
-1
lines changed Expand file tree Collapse file tree 2 files changed +79
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ concurrency:
10
10
cancel-in-progress : true
11
11
12
12
jobs :
13
- build- arduino :
13
+ arduino :
14
14
name : ${{ matrix.config }}
15
15
runs-on : ubuntu-latest
16
16
strategy :
82
82
pip install --upgrade platformio
83
83
84
84
- run : PLATFORMIO_SRC_DIR=examples/Client PIO_BOARD=${{ matrix.board }} pio run -e ${{ matrix.env }}
85
+
86
+ release :
87
+ name : Release
88
+ if : ${{ github.repository_owner == 'ESP32Async' && github.event_name != 'pull_request' && startsWith(github.ref, 'refs/tags/v') }}
89
+ runs-on : ubuntu-latest
90
+ needs : [arduino, platformio]
91
+ permissions :
92
+ contents : write
93
+ steps :
94
+ - name : Checkout
95
+ uses : actions/checkout@v4
96
+
97
+ - name : Changelog
98
+ id : github_release
99
+ uses : mikepenz/release-changelog-builder-action@v5
100
+ with :
101
+ failOnError : true
102
+ commitMode : true
103
+ configuration : " .github/workflows/release-notes-config.json"
104
+
105
+ - name : Release
106
+ uses : softprops/action-gh-release@v2
107
+ with :
108
+ body : ${{steps.github_release.outputs.changelog}}
109
+ append_body : true
110
+ make_latest : true
111
+ draft : false
112
+ prerelease : false
Original file line number Diff line number Diff line change
1
+ {
2
+ "categories" : [
3
+ {
4
+ "title" : " ## ⚡ Breaking Changes" ,
5
+ "labels" : [
6
+ " break"
7
+ ]
8
+ },
9
+ {
10
+ "title" : " ## 🚀 Features" ,
11
+ "labels" : [
12
+ " feat"
13
+ ]
14
+ },
15
+ {
16
+ "title" : " ## 🐛 Fixes" ,
17
+ "labels" : [
18
+ " fix"
19
+ ]
20
+ },
21
+ {
22
+ "title" : " ## 📚 Documentation" ,
23
+ "labels" : [
24
+ " doc"
25
+ ]
26
+ },
27
+ {
28
+ "title" : " ## 🛠 Under the hood" ,
29
+ "labels" : []
30
+ }
31
+ ],
32
+ "template" : " ${{CHANGELOG}}" ,
33
+ "pr_template" : " - [${{TITLE}}](https://github.com/mathieucarbou/${{REPO}}/commit/${{MERGE_SHA}})" ,
34
+ "empty_template" : " - no changes" ,
35
+ "label_extractor" : [
36
+ {
37
+ "pattern" : " (.): (.+)" ,
38
+ "target" : " $1" ,
39
+ "on_property" : " title"
40
+ },
41
+ {
42
+ "pattern" : " (.) (.+)" ,
43
+ "target" : " $1" ,
44
+ "on_property" : " title"
45
+ }
46
+ ],
47
+ "tag_resolver" : {
48
+ "method" : " semver"
49
+ }
50
+ }
You can’t perform that action at this time.
0 commit comments