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 @@ -140,8 +140,36 @@ jobs:
140
140
run : |
141
141
python -m pip install --upgrade pip
142
142
pip install --upgrade platformio
143
-
143
+
144
144
- run : PLATFORMIO_SRC_DIR=examples/CaptivePortal PIO_BOARD=${{ matrix.board }} pio run -e ${{ matrix.env }}
145
145
- run : PLATFORMIO_SRC_DIR=examples/SimpleServer PIO_BOARD=${{ matrix.board }} pio run -e ${{ matrix.env }}
146
146
- run : PLATFORMIO_SRC_DIR=examples/Filters PIO_BOARD=${{ matrix.board }} pio run -e ${{ matrix.env }}
147
147
- run : PLATFORMIO_SRC_DIR=examples/StreamFiles PIO_BOARD=${{ matrix.board }} pio run -e ${{ matrix.env }}
148
+
149
+ release :
150
+ name : Release
151
+ if : ${{ github.repository_owner == 'ESP32Async' && github.event_name != 'pull_request' && startsWith(github.ref, 'refs/tags/v') }}
152
+ runs-on : ubuntu-latest
153
+ needs : [arduino, platformio]
154
+ permissions :
155
+ contents : write
156
+ steps :
157
+ - name : Checkout
158
+ uses : actions/checkout@v4
159
+
160
+ - name : Changelog
161
+ id : github_release
162
+ uses : mikepenz/release-changelog-builder-action@v5
163
+ with :
164
+ failOnError : true
165
+ commitMode : true
166
+ configuration : " .github/workflows/release-notes-config.json"
167
+
168
+ - name : Release
169
+ uses : softprops/action-gh-release@v2
170
+ with :
171
+ body : ${{steps.github_release.outputs.changelog}}
172
+ append_body : true
173
+ make_latest : true
174
+ draft : false
175
+ 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