Giter VIP home page Giter VIP logo

semverutil's Introduction

NAME
       semverutil - Semantic version command line utility

SYNOPSIS
       semverutil [ -MNPR ] [+FORMAT]

DESCRIPTION
       semverutil  parses  semantic  version strings from STDIN and optionally
       increments the major, minor, patch or revision. If no options are spec-
       ified  then  semverutil will output the highest of the semantic version
       values given in STDIN.

       semverutil includes an extension to the semver standard that allows re-
       visions	-  an additional value to the immediate right-hand side of the
       core version, separated by an underscore.

   Options
       -M     Increment the major version

       -N     Increment the minor version

       -P     Increment the patch version

       -R     Increment the revision

   FORMAT
       This controls the output. Interpreted sequences are:

       %M     The MAJOR component

       %N     The MINOR component

       %P     The PATCH component

       %R     The REVISION component

       %L     The PRE-RELEASE component

       %D     the METADATA component

semverutil's People

Contributors

gmbeard avatar

Watchers

 avatar  avatar

semverutil's Issues

Metadata values are incorrectly parsed as pre-release values

If the pre-release value is missing from the input but the metadata value is present then the metadata value is incorrectly parsed as the pre-release value.

Expected Behavior

1.0.0+deadbeef is parsed as 1.0.0+deadbeef

Actual Behaviour

1.0.0+deadbeef is parsed as 1.0.0-deadbeef

Build failure on AppleClang 13.0.0

There are multiple compile diagnostics when building on AppleClang 13.0.0. Even though this compiler is reportedly C++20 compatible, there are still some issues...

  • std::string_view doesn't have a constructor overload that accepts an iterator pair
  • The three-way comparison operator (<=>) doesn't seem to support comparing std::array<T, N> or std::string

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.