A simple program that performs the following steps:
The version field is treated as Semver.
X.Y.Z
where X: major
Y: minor
Z: patch
(detected automatically)
package.json
file exists)Depends on the existence of a pyproject.toml
file at the root and a
__init__.py
inside some subdirectory with a VERSION = 'x.y.z'
line. Pretty
niche I know.
You need rust for that.
Then just run cargo build --release
inside the project directory, take the
binary from target/release/vbump
and place it somewhere in your PATH
.