Skip to content

Conversation

@IliaFeldgun
Copy link

@IliaFeldgun IliaFeldgun commented May 21, 2023

image
As long as we have a single tag in the repo, we have dynamic versioning
image

@IliaFeldgun IliaFeldgun force-pushed the ilia/package branch 2 times, most recently from d8191b7 to 37a36d1 Compare November 8, 2023 20:59
PEP-440 versioning with git cli
Readme
dev-requirements.txt
Lint for python3 (incomplete)
setup.py Outdated
def version():
git_describe_cmd = ["git", "describe", "--tags", "HEAD"]
git_head_tag = subprocess.check_output(git_describe_cmd).strip().decode("utf-8")
python_version = git_head_tag

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be pep440 version

return python_version


with open("README.md", "r") as fh:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fh to something more meaningful for readability

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants