File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1818 run : |
1919 python -m pip install --upgrade pip
2020 pip install hatch
21- - name : Build the func_adl wheel
22- env :
23- func_adl_version : ${{ github.ref }}
21+ - name : Build the package
2422 run : |
23+ echo "__version__=${{ github.ref }}" >> func_adl/version.txt
2524 hatch build
2625 - name : Publish a func_adl to PyPI
2726 uses : pypa/gh-action-pypi-publish@v1.3.1
Original file line number Diff line number Diff line change 1+ __version__ = "0.0.1a1"
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ build-backend = "hatchling.build"
1010
1111[project ]
1212name = " func_adl"
13- version = " 0.0.1a1"
1413description = " Functional Analysis Description Language Base Package"
1514readme = " README.md"
1615authors = [
@@ -38,6 +37,7 @@ classifiers = [
3837dependencies = [
3938 " make-it-sync"
4039]
40+ dynamic = [" version" ]
4141
4242[project .optional-dependencies ]
4343test = [
@@ -59,7 +59,7 @@ test = [
5959# No scripts defined in setup.py
6060
6161[tool .hatch .version ]
62- path = " func_adl/__init__.py "
62+ path = " func_adl/version.txt "
6363
6464[tool .hatch .build .targets .sdist ]
6565include = [" README.md" ]
You can’t perform that action at this time.
0 commit comments