package semv

  1. Overview
  2. Docs
Bump a semver

Install

Dune Dependency

Authors

Maintainers

Sources

semv-1.0.0.tbz
sha256=cc864b294cbc3016c0aadec523d5a7b7b5ed0c1118dc56869965f8b5628943e6
sha512=fb0d1f122ea868b11e1a0518f422be8bcadf87b506a18ef1eaafa9aa8f81c3bcc376308dd073ec50a9fd68938636b6320b0e99feb0344a31e0d602ce4c928389

README.md.html

SEMV

semv is a tool written in ocaml to bump semver.

Installation

Using opam

opam install semv

Usage

semv [-major] [-minor] [-patch] +/- <input>
  -major Set major
  -minor Set minor
  -patch Set patch
  -preserve By default pre-release and build info are discarded after modification, use this to preserve them.
  -help | --help Display this list of options
semv -major 0.0.1 # 1.0.0
semv -minor 0.0.1 # 0.1.0
semv -patch 0.0.1 # 0.0.2

semv -major 1.0.1-alpha+74a1c58b # 2.0.1
semv -major 1.0.1-alpha+74a1c58b -preserve # 2.0.1-alpha+74a1c58b

echo 1.0.1 | semv -major # 2.0.1

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Apache-2.0

OCaml

Innovation. Community. Security.