File tree 4 files changed +54
-5
lines changed
4 files changed +54
-5
lines changed Original file line number Diff line number Diff line change
1
+ name-template : " Version $RESOLVED_VERSION"
2
+ tag-template : " $RESOLVED_VERSION"
3
+
1
4
categories :
2
- - title : " ⚠ Breaking Changes"
5
+ - title : " 🚨 Breaking changes"
6
+ label : " breaking-change"
7
+
8
+ - title : " ✨ New features"
9
+ label : " new-feature"
10
+
11
+ - title : " 🐛 Bug fixes"
12
+ label : " bugfix"
13
+
14
+ - title : " 🚀 Enhancements"
3
15
labels :
4
- - " breaking-change"
5
- - title : " ⬆️ Dependencies"
16
+ - " enhancement"
17
+ - " refactor"
18
+ - " performance"
19
+
20
+ - title : " 🧰 Maintenance"
21
+ labels :
22
+ - " maintenance"
23
+ - " ci"
24
+
25
+ - title : " 📚 Documentation"
26
+ labels :
27
+ - " documentation"
28
+
29
+ - title : " ⬆️ Dependency updates"
6
30
collapse-after : 1
7
31
labels :
8
32
- " dependencies"
33
+
34
+ version-resolver :
35
+ major :
36
+ labels :
37
+ - " major"
38
+ - " breaking-change"
39
+ minor :
40
+ labels :
41
+ - " minor"
42
+ - " new-feature"
43
+ patch :
44
+ labels :
45
+ - " bugfix"
46
+ - " ci"
47
+ - " dependencies"
48
+ - " documentation"
49
+ - " enhancement"
50
+ - " performance"
51
+ - " refactor"
52
+ default : patch
53
+
9
54
template : |
10
55
## What's Changed
11
56
Original file line number Diff line number Diff line change 21
21
run : |
22
22
python -m pip install --upgrade pip
23
23
pip install build twine
24
+ - name : Set package version
25
+ run : |
26
+ version="${{ github.event.release.tag_name }}"
27
+ sed -i "s/^version = \".*\"/version = \"${version}\"/" pyproject.toml
24
28
- name : Build and publish
25
29
env :
26
30
TWINE_USERNAME : __token__
Original file line number Diff line number Diff line change 9
9
update_release_draft :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- # Drafts your next Release notes as Pull Requests are merged into "master "
12
+ # Drafts your next Release notes as Pull Requests are merged into "main "
13
13
-
uses :
release-drafter/[email protected]
14
14
env :
15
15
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ requires = ["setuptools>=77.0"]
4
4
5
5
[project ]
6
6
name = " aioshelly"
7
- version = " 13.4 .0"
7
+ version = " 0.0 .0"
8
8
license = " Apache-2.0"
9
9
description = " Asynchronous library to control Shelly devices."
10
10
readme = " README.md"
You can’t perform that action at this time.
0 commit comments