Crates.io | vbump |
lib.rs | vbump |
version | 0.5.1 |
source | src |
created_at | 2022-11-09 00:15:44.607724 |
updated_at | 2022-11-09 00:15:44.607724 |
description | Bumps the version of a project, creating the appropiate git tags |
homepage | |
repository | https://gitlab.com/categulario/vbump |
max_upload_size | |
id | 708400 |
size | 60,740 |
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
.