File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed
Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 1818 - uses : actions/checkout@v4
1919 with :
2020 fetch-depth : 0
21+ tags : true
2122
2223 - name : Python Semantic Release
2324 uses : python-semantic-release/python-semantic-release@master
2728 upload-to-pypi :
2829 runs-on : ubuntu-latest
2930 environment : Secrets
31+ needs : []
3032
3133 steps :
3234 - uses : actions/checkout@v4
4547 run : python -m build
4648
4749 - name : Publish package
48- uses : pypa/gh-action-pypi-publish@15c56dba361d8335944d31a2ecd17d700fc7bcbc
50+ uses : pypa/gh-action-pypi-publish@release/v1
4951 with :
5052 user : __token__
51- password : ' ${{ secrets.PYPI_API_TOKEN }}'
53+ password : ' ${{ secrets.PYPI_TOKEN }}'
Original file line number Diff line number Diff line change 1- __version__ = "1.7.1 "
1+ __version__ = "1.7.2 "
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.1 "
7+ version = " 1.7.2 "
88description = " Django Markdown Editor"
99readme = " README.md"
1010license = { text = " GPL-3.0" }
@@ -69,16 +69,23 @@ dev = [
6969
7070[tool .hatch .build .targets .wheel ]
7171packages = [" martor" ]
72+ include = [" /martor/__init__.py" ]
7273
7374[tool .hatch .build .targets .sdist ]
7475include = [
7576 " /LICENSE" ,
7677 " /README.md" ,
7778 " /requirements.txt" ,
79+ " /martor" ,
7880 " /martor/templates" ,
7981 " /martor/static" ,
82+ " /martor/__init__.py" ,
8083]
8184
85+ [tool .semantic_release ]
86+ version_variable = " martor/__init__.py:__version__"
87+ version_toml = " pyproject.toml:project.version"
88+
8289# Testing configuration
8390[tool .hatch .envs .test ]
8491dependencies = [
You can’t perform that action at this time.
0 commit comments