Version Release#
Thereβs a really nice tool to manage the releases which is called bump-my-version
, which has already been configured.
Itβs really easy to use.
Docs of the tool available here https://callowayproject.github.io/bump-my-version/#create-a-default-configuration
You need to have installed the development installation of tidy3d
:
poetry install -E dev
Now, make sure the git index is clean, and youβre ready to release. Test that the release would update the correct files:
poetry run bump-my-version show-bump
When you want to bump the version, you only have to do:
poetry run bump-my-version bump <patch, or similar according to the show-bump commands>
An example of the .bump-my-version.toml
is as below, and just configures the files to be updated:
2024-03-20 16:58:02 β dxps in ~/flexcompute/tidy3d
Β± |dario/2.6.2/fix_versioning S:1 U:3 ?:2 β| β poetry run bump-my-version show-bump
Specified version (2.6.1) does not match last tagged version (2.6.0)
2.6.1 ββ bump ββ¬β major β 3.0.0
ββ minor β 2.7.0
ββ patch β 2.6.2
ββ pre_l β 2.6.1-rc0
β°β pre_n β 2.6.1-dev1