Set up bump-my-version and release workflow#89
Merged
aditeyashukla merged 3 commits intoMIT-LAE:mainfrom Feb 13, 2026
Merged
Conversation
Member
Author
|
And hey, whaddya know? It doesn't work. I thought I had fixed that problem, but apparently not... |
aditeyashukla
approved these changes
Feb 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds
bump-my-versionas a dependency and adds a GitHub action to create release artifacts when a new version tag is pushed.The workflow for using this is to do
uv run bump-my-version bump minor(ormajor, orpatch), which updates the version number in thepyproject.toml, creates a commit to mark the version update, then creates a tag with the version number. Then you dogit pushandgit push --tags. The GitHub release action then runs. This does a couple of checks, then does auv buildand generates a GitHub release from the results.Once this is all in place and working, we will be able to update the README to tell people to pip (or better, uv) install AEIC from a GitHub release (which basically means doing
uv add https://github.com/MIT-LAE/AEIC/releases/download/v0.1.0/aeic-0.1.0-py3-none-any.whl, where that URL is something you copy&paste from the release page).This is pretty benign to merge, but I'll need to experiment a little with it once it's in place to make sure that it's working properly. I've tested it on my fork of AEIC, but I'm sure there's room for something to go wrong.
NOTE: I've also reset the version in the
pyproject.tomlto0.0.0in preparation for following the usual major.minor.patch version number pattern. The first time we runbumpy-my-version bump minorto make a release, we'll start on version 0.1.0. Once it's all tested and working, I'll add notes to the developer documentation to describe how to make a release.