Uses old Rust 2015

0.1.0 Feb 2, 2018

#25 in #specify

39 downloads per month

Apache-2.0

3KB

Calcver rust example

Build Status

.calcver.yml

Defaults are provided for most fields (see calcver-cli/#12). However, you have to specify at least one action to perform:

# -- uncomment to override defaults
#root: .
#repository_type: git
#prerelease_prefix: rc
#tag_regex: \d+\.\d+\.\d+
#major_regex: "BREAKING CHANGE:"
#minor_regex: ^feat
#patch_regex: ^fix

# specify cargo toml file
cargo: Cargo.toml

# OR a list of scripts

actions:
  - .\bin\build.sh

Travis

To auto set version on build, setup a .travis.yml like this:

before_install:
  - cargo install calcver --bins

script: calcver && cargo build
  1. Install the crate (including binaries)
  2. Run calcver to bump version
  3. Build/package/publish

No runtime deps