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

https://github.com/LeoBorai/cargo-tag

Cargo plugin to bump crate's versions and Git tag them for release
https://github.com/LeoBorai/cargo-tag

cargo crate git release tagging

Last synced: 1 day ago
JSON representation

Cargo plugin to bump crate's versions and Git tag them for release

Awesome Lists containing this project

README

          


cargo tag



Cargo plugin to bump crate's versions and Git tag them for release


[![Crates.io](https://img.shields.io/crates/v/cargo-tag.svg)](https://crates.io/crates/cargo-tag)
[![Documentation](https://docs.rs/cargo-tag/badge.svg)](https://docs.rs/cargo-tag)
![Build](https://github.com/whizzes/cargo-tag/workflows/build/badge.svg)
![Clippy](https://github.com/whizzes/cargo-tag/workflows/clippy/badge.svg)
![Formatter](https://github.com/whizzes/cargo-tag/workflows/fmt/badge.svg)

Cargo plugin to bump crate's versions and Git tag them
for release.

"cargo tag" helps to automate the process of bumping versions
similar to how "npm version" does.

When bumping versions with "cargo tag", the
Cargo.toml and Cargo.lock files are updated with the new version, then a Git
commit and a Git tag are both created.

```
Usage: cargo-tag [COMMAND]

Commands:
current
Print current package version
minor
Bumps crate's minor version and create a git tag
major
Bumps crate's major version and create a git tag
patch
Bumps crate's patch version and create a git tag
help
Print this message or the help of the given subcommand(s)

Options:
-h, --help
Print help information (use `-h` for a summary)

-V, --version
Print version information
```

## Installation

```bash
cargo install cargo-tag
```

> Requires Git to be installed in your system.

## Contributing

Every contribution to this project is welcome. Feel free to open a pull request,
an issue or just by starting this project.

## License

Distributed under the terms of both the MIT license