An open API service indexing awesome lists of open source software.

https://github.com/caido/bumpit

Semver version bump
https://github.com/caido/bumpit

bump cargo semver

Last synced: about 2 months ago
JSON representation

Semver version bump

Awesome Lists containing this project

README

          

# BumpIt

[github](https://github.com/caido/bumpit)
[crates.io](https://crates.io/crates/bumpit)

Mirrors the behaviour of [npm version](https://docs.npmjs.com/cli/v8/commands/npm-version) but for Rust.
Supports individual packages and workspaces.

## Installation

We provide both a cargo command and a standalone binary.

```sh
cargo install bumpit
```

## Usage

### Bump a level

```sh
# 0.1.0 -> 0.2.0
# 0.1.0-rc.0 -> 0.1.0
cargo bumpit minor
```

### Bump and pre-release

```sh
# 0.1.0 -> 0.2.0-0
cargo bumpit preminor
```

### Bump pre-release

```sh
# 0.1.0-0 -> 0.1.0-1
# 0.1.0 -> 0.1.1-0
cargo bumpit prerelease --pre-id rc
```

### Pre-release with ID

```sh
# 0.1.0 -> 0.2.0-rc.0
cargo bumpit preminor --pre-id rc
```