package semv

  1. Overview
  2. Docs
Bump a semver

Install

Dune Dependency

Authors

Maintainers

Sources

semv-1.0.0.tbz
sha256=cc864b294cbc3016c0aadec523d5a7b7b5ed0c1118dc56869965f8b5628943e6
sha512=fb0d1f122ea868b11e1a0518f422be8bcadf87b506a18ef1eaafa9aa8f81c3bcc376308dd073ec50a9fd68938636b6320b0e99feb0344a31e0d602ce4c928389

Description

Tags

semver cli

Published: 28 May 2024

README

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

Dependencies (2)

  1. semantic_version = "v0.16.0"
  2. dune >= "3.15"

Dev Dependencies (1)

  1. odoc with-doc

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.