| Crates.io | project-version |
| lib.rs | project-version |
| version | 0.1.0 |
| created_at | 2025-04-23 17:52:32.112441+00 |
| updated_at | 2025-04-23 17:52:32.112441+00 |
| description | A cross-language project version bumper for multiple project types |
| homepage | https://github.com/osteele/project-version |
| repository | https://github.com/osteele/project-version |
| max_upload_size | |
| id | 1646063 |
| size | 108,085 |
A cross-language project version bumper CLI that supports multiple project types.
cargo install project-version
git clone https://github.com/osteele/project-version.git
cd project-version
cargo install --path .
project-version [OPTIONS] [DIRECTORY] [COMMAND]
bump - Bump project version (major, minor, or patch)set - Set project version to a specific version numberhelp - Print help information[DIRECTORY] - Project directory to bump (defaults to current directory)-v, --verbose - Verbose output-n, --dry-run - Dry run (no file modifications or git operations)-h, --help - Print help-V, --version - Print version[BUMP_TYPE] - Type of version bump to perform: major, minor, or patch (default: patch)--no-commit - Skip committing changes--no-tag - Skip tagging the commit--force-tag - Force tag creation (overwrite existing tag)<VERSION> - Version number to set (must be a valid semver string, can include optional 'v' prefix)--no-commit - Skip committing changes--no-tag - Skip tagging the commit--force-tag - Force tag creation (overwrite existing tag)--force - Force setting version even if it's lower than current version# Show current version and available commands
project-version
# Bump patch version in current directory
project-version bump
# Bump minor version
project-version bump minor
# Bump major version with verbose output
project-version bump major --verbose
# Set a specific version (with or without v prefix)
project-version set 2.0.0
project-version set v2.0.0
# Set a lower version (requires --force)
project-version set 1.0.0 --force
# Dry run to see what would happen
project-version bump --dry-run
project-version set 2.0.0 --dry-run
# Bump version without creating a git commit
project-version bump --no-commit
# Bump version in a specific directory
project-version /path/to/project bump
This project uses just as a command runner for development tasks.
Install dependencies:
cargo build
Install the pre-commit tool (if not already installed):
pip install pre-commit
Set up the development environment:
just setup
For more detailed development instructions, see DEVELOPMENT.md.
project-version is built with:
MIT Oliver Steele