Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use setuptools-scm for versioning. #18

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Use setuptools-scm for versioning. #18

wants to merge 3 commits into from

Conversation

jezdez
Copy link
Member

@jezdez jezdez commented Feb 13, 2025

I just tried doing a minor bugfix release and it didn't work since the version had to be bumped manually. This adds automation for git tag based releasing.

Close #19.

[tool.setuptools.dynamic]
version = {attr = "conda_sphinx_theme.__version__"}
[tool.setuptools_scm]
version_file = "conda_sphinx_theme/_version.py"
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the file that is autogenerated by setuptools-scm with the current git derived version.

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.

Derive version from git tag for full release automation
1 participant