File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,15 @@ jobs:
2020 fetch-depth : 0
2121 tags : true
2222
23+ - name : Get tag version
24+ id : get_version
25+ run : echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
26+
2327 - name : Python Semantic Release
2428 uses : python-semantic-release/python-semantic-release@master
2529 with :
2630 github_token : ' ${{ secrets.GH_TOKEN }}'
31+ command : publish
2732
2833 upload-to-pypi :
2934 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1- __version__ = "1.7.3 "
1+ __version__ = "1.7.4 "
22__release_date__ = "26-Jul-2025"
33__author__ = "Agus Makmun (Summon Agus)"
44__author_email__ = "[email protected] "
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44
55[project ]
66name = " martor"
7- version = " 1.7.3 "
7+ version = " 1.7.4 "
88description = " Django Markdown Editor"
99readme = " README.md"
1010license = { text = " GPL-3.0" }
@@ -85,6 +85,10 @@ include = [
8585[tool .semantic_release ]
8686version_variable = " martor/__init__.py:__version__"
8787version_toml = [" pyproject.toml" , " project.version" ]
88+ build_command = " hatch build"
89+ dist_path = " dist/"
90+ version_pattern = " v{version}"
91+ tag_format = " v{version}"
8892
8993# Testing configuration
9094[tool .hatch .envs .test ]
You can’t perform that action at this time.
0 commit comments