git ls-remote --tags https://github.com/Ircama/raspberry-pi-sim800l-gsm-module # list remote tags
Check the published tag here: https://github.com/Ircama/raspberry-pi-sim800l-gsm-module/tags
It shall be even with the last commit.
Check the GitHub Action: https://github.com/Ircama/raspberry-pi-sim800l-gsm-module/actions
Check PyPI:
- https://test.pypi.org/manage/project/sim800l-gsm-module/releases/
- https://pypi.org/manage/project/sim800l-gsm-module/releases/
End user publishing page:
- https://test.pypi.org/project/sim800l-gsm-module/
- https://pypi.org/project/sim800l-gsm-module/
Verify whether wrong builds need to be removed.
Test installation:
shell
cd
python3 -m pip uninstall -y sim800l-gsm-module
python3 -m pip install sim800l-gsm-module
python3
from sim800l import SIM800L
quit()
python3 -m pip uninstall -y sim800l-gsm-module
Updating the same tag (using a different build number for publishing)
shell
git tag list tags
git tag -d v1.0.0 remove local tag
git push --delete origin v1.0.0 remove remote tag
git ls-remote --tags https://github.com/Ircama/raspberry-pi-sim800l-gsm-module # list remote tags
Then follow the tagging procedure again to add the tag to the latest commit.
Testing the build procedure locally
shell
cd <repository directory>
Local build (using build):
shell
python3 -m build --sdist --wheel --outdir dist/ .
python3 -m twine upload --repository testpypi dist/*
Local build (using setup):
shell
python3 setup.py sdist bdist_wheel
python3 -m twine upload --repository testpypi dist/*
Local build (using build versions):
shell
GITHUB_RUN_NUMBER=31 python3 setup.py sdist bdist_wheel
python3 -m twine upload --repository testpypi dist/*
Removing directories
shell
ls -l dist
rm -r build dist sim800l_gsm_module.egg-info
Check version data
- https://pypi.org/pypi/sim800l-gsm-module/json
- https://test.pypi.org/pypi/sim800l-gsm-module/json