File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,14 @@ jobs:
2222 run : |
2323 python -m pip install --upgrade pip
2424 pip install setuptools wheel twine
25+ - name : Set Release Version
26+ id : vars
27+ run : echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
2528 - name : Build and publish
2629 env :
2730 TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
2831 TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
2932 run : |
33+ sed -i 's/PLACE_HOLDER_VERSION/${{ env.RELEASE_VERSION }}/' setup.py
3034 python setup.py sdist bdist_wheel
3135 twine upload dist/*
Original file line number Diff line number Diff line change 33with open ("README.md" , "r" ) as fh :
44 long_description = fh .read ()
55
6+ # Place_Holder_Version is being updated by Github Actions
7+
68setuptools .setup (
79 name = "pymarker" ,
8- version = "0.2.1 " ,
10+ version = "PLACE_HOLDER_VERSION " ,
911 author = "Pablo Silva" ,
10121113 description = "A python package to generate AR markers and patterns based on input images" ,
1517 url = "https://github.com/pablodiegoss/pymarker" ,
1618 packages = setuptools .find_packages (),
1719 classifiers = [
18- "Development Status :: 3 - Alpha " ,
20+ "Development Status :: 4 - Beta " ,
1921 "Programming Language :: Python :: 3" ,
2022 "License :: OSI Approved :: GNU General Public License v3 (GPLv3)" ,
2123 "Operating System :: OS Independent" ,
You can’t perform that action at this time.
0 commit comments