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:
2525 with :
2626 python-version : 3.x
2727
28- - name : Install semantic-release
28+ - name : Install dependencies
2929 run : |
3030 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]
3632
3733 - name : Create GitHub Release
3834 env :
Original file line number Diff line number Diff line change 22command = " hatch build"
33path = " dist/"
44
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" ,
1510]
1611
17- [changelog .environment ]
18- start_reference = " HEAD~1"
19-
20- [changelog .environment .github ]
21- repo = " agusmakmun/django-markdown-editor"
22-
2312[upload_to_release ]
2413enabled = true
2514build_artifacts = true
You can’t perform that action at this time.
0 commit comments