File tree Expand file tree Collapse file tree 2 files changed +71
-0
lines changed
Expand file tree Collapse file tree 2 files changed +71
-0
lines changed Original file line number Diff line number Diff line change 1+ name-template : " v$RESOLVED_VERSION"
2+ tag-template : " v$RESOLVED_VERSION"
3+ categories :
4+ - title : " Breaking Changes"
5+ label : " breaking-change"
6+ - title : " Dependencies"
7+ collapse-after : 1
8+ labels :
9+ - " dependencies"
10+
11+ version-resolver :
12+ major :
13+ labels :
14+ - " major"
15+ - " breaking-change"
16+ minor :
17+ labels :
18+ - " minor"
19+ - " new-feature"
20+ patch :
21+ labels :
22+ - " bugfix"
23+ - " dependencies"
24+ - " documentation"
25+ - " enhancement"
26+ default : patch
27+
28+ template : |
29+ ## What's Changed
30+
31+ $CHANGES
32+
33+ **Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
Original file line number Diff line number Diff line change 1+ name : Release Drafter
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ permissions :
9+ contents : write
10+ pull-requests : read
11+
12+ jobs :
13+ release-drafter :
14+ name : Release Drafter
15+ environment : release-drafter
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : release-drafter/release-drafter@6db134d15f3909ccc9eefd369f02bd1e9cffdf97 # v6.2.0
19+ id : drafter
20+ env :
21+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
22+
23+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24+ with :
25+ ssh-key : ${{ secrets.DEPLOY_KEY }}
26+
27+ - name : Update version in CMakeLists.txt
28+ run : |
29+ sed -i "s/project(micro_ogg_demuxer VERSION .* LANGUAGES/project(micro_ogg_demuxer VERSION ${{ steps.drafter.outputs.resolved_version }} LANGUAGES/g" CMakeLists.txt
30+
31+ - name : Commit changes
32+ run : |
33+ if ! git diff --quiet; then
34+ git config --global user.name "esphomebot"
35+ git config --global user.email "68923041+esphomebot@users.noreply.github.com"
36+ git commit -am "Bump version to ${{ steps.drafter.outputs.resolved_version }}"
37+ git push
38+ fi
You can’t perform that action at this time.
0 commit comments