File tree Expand file tree Collapse file tree 2 files changed +7
-22
lines changed Expand file tree Collapse file tree 2 files changed +7
-22
lines changed Original file line number Diff line number Diff line change @@ -25,14 +25,10 @@ jobs:
25
25
with :
26
26
python-version : 3.x
27
27
28
- - name : Install semantic-release
28
+ - name : Install dependencies
29
29
run : |
30
30
python -m pip install --upgrade pip
31
- pip install python-semantic-release[github]
32
-
33
- - name : Get tag version
34
- id : get_version
35
- run : echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
31
+ pip install hatch python-semantic-release[github]
36
32
37
33
- name : Create GitHub Release
38
34
env :
Original file line number Diff line number Diff line change 2
2
command = " hatch build"
3
3
path = " dist/"
4
4
5
- [changelog ]
6
- exclude_commit_types = [
7
- " ci" ,
8
- " build" ,
9
- " chore" ,
10
- " docs" ,
11
- " style" ,
12
- " refactor" ,
13
- " perf" ,
14
- " test" ,
5
+ [version ]
6
+ tag_format = " v{version}"
7
+ version_variable = [
8
+ " martor/__init__.py:__version__" ,
9
+ " pyproject.toml:project.version" ,
15
10
]
16
11
17
- [changelog .environment ]
18
- start_reference = " HEAD~1"
19
-
20
- [changelog .environment .github ]
21
- repo = " agusmakmun/django-markdown-editor"
22
-
23
12
[upload_to_release ]
24
13
enabled = true
25
14
build_artifacts = true
You can’t perform that action at this time.
0 commit comments