Skip to content

Guarantees that version differences are as defined.

License

Notifications You must be signed in to change notification settings

somen440/gver_diff

Repository files navigation

GverDiff CircleCI Coverage Status hex.pm version hex.pm

LINK

Usage

from Hex

$ mix local.hex --force
$ mix local.rebar --force
$ mix escript.install hex gver_diff
$ export PATH=~/.mix/escripts:$PATH
$ gver_diff \
  --type date \
  --regx "dev-(?<version>.*)" \
  dev-20111223 gt dev-20111224
false

from DockerHub

$ docker run --rm -it \
    mentol310/gver_diff:0.0.2 \
    /app/gver_diff \
    --type date \
    --regx "dev-(?<version>.*)" \
    dev-20111223 gt dev-20111224
false

Compare Target

specified type option

  • integer
  • string
  • float
  • date
    • Ymd, Y-m-d
    • 20120506, 2012-05-06
  • datetime
    • Y-m-d H:i:s
    • 20120405 12:13:14
  • version
    • x.y.z

About

Guarantees that version differences are as defined.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages