kmfarley11 / version-checker

Keep tabs on all hardcoded versions in your code
MIT License
0 stars 0 forks source link

publish to PyPI #5

Closed kmfarley11 closed 1 year ago

kmfarley11 commented 3 years ago

once productization is complete, submit for publish to pypi

kmfarley11 commented 3 years ago

simultaneously update ci/cd: https://docs.travis-ci.com/user/deployment/pypi/

kmfarley11 commented 3 years ago

Also add other badges according to pypi (pyversion, license, supported pythons)

kmfarley11 commented 3 years ago

also might wanna revisit integration tests in CI/CD. had issues with the bash script, a tagged pytest may be more appropriate

kmfarley11 commented 2 years ago

update [setup.cfg]'s packages = to find: as well. For consistency, we should probably let it make the version-checker whl organically rather than making version_checker

kmfarley11 commented 1 year ago

This one was a bit finicky. Ultimately encrypting the pypi token locally wasn't very successful, so i just had to manually create a PYPI_TOKEN env var in the travis CI environment.

But it appears to be working now: https://pypi.org/project/base-version-checker

To publish a new version, just do this from main : bump2version <segment> --commit --tag && git push && git push --tags