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

#11 💚 support automatic dev versioning for ci builds #14

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

d-ryan-ashcraft
Copy link
Contributor

No description provided.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I (Informational): this configuration file allows incrementing version numbers via the bump-my-version library.

pre_commit_hooks = []
post_commit_hooks = []

[[tool.bumpversion.files]]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I: it will search the files listed here to sync the versions up

Copy link
Collaborator

Choose a reason for hiding this comment

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

Q: so the current_version in the .bumpversion.toml file and the version in all the pyproject.toml files within the project will automatically be updated and committed with each push to dev (or whatever branch is specified)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correct

@@ -58,6 +58,18 @@ jobs:
- name: Publish
run: |
uv publish --publish-url https://test.pypi.org/legacy/ --token ${{ secrets.TEST_PYPI_TOKEN }}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I: After pushing dev to test.pypi.org, it will increment the version and commit that change

@d-ryan-ashcraft d-ryan-ashcraft force-pushed the 11-automate-dev-version-bump branch from f483647 to fe06042 Compare January 21, 2025 19:54
@d-ryan-ashcraft d-ryan-ashcraft force-pushed the 11-automate-dev-version-bump branch from fe06042 to 343afe7 Compare January 21, 2025 19:58
@d-ryan-ashcraft d-ryan-ashcraft merged commit 1404745 into dev Jan 21, 2025
@d-ryan-ashcraft d-ryan-ashcraft deleted the 11-automate-dev-version-bump branch January 21, 2025 20:08
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.

4 participants