semver utilities
sudo curl -L https://siakhooi.github.io/apt/siakhooi-apt.list | sudo tee /etc/apt/sources.list.d/siakhooi-apt.list > /dev/null
sudo curl -L https://siakhooi.github.io/apt/siakhooi-apt.gpg | sudo tee /usr/share/keyrings/siakhooi-apt.gpg > /dev/null
sudo apt update
sudo apt install siakhooi-semvery
- CodeClimate: https://codeclimate.com/github/siakhooi/javacli-semvery
- SonarCloud: https://sonarcloud.io/project/overview?id=siakhooi_javacli-semvery
semvery
semvery -v
semvery --version
semvery -h
semvery --help
semvery -o isValid 1.0.1
semvery --operation isValid 1.0.1 2.0.2
semvery -o isStable 1.0.1
semvery --operation isStable 1.0.1 2.0.2
semvery -o isGreater -r 1.0.0 1.0.1
semvery --operation isGreater -r 1.0.0 1.0.1 2.0.2
semvery -o isLower -r 1.0.0 1.0.1
semvery --operation isLower -r 1.0.0 1.0.1 2.0.2
semvery -o isEqual -r 1.0.0 1.0.1
semvery --operation isEqual -r 1.0.0 1.0.1 2.0.2
semvery -o isEquivalent -r 1.0.0 1.0.1
semvery --operation isEquivalent -r 1.0.0 1.0.1 2.0.2
pom.xml
src/deb/DEBIAN/control
src/deb/usr/bin/semvery
src/main/java/sing/app/semvery/Version.java
- Test files
src/test/java/sing/app/semvery/VersionTest.java
src/test/java/sing/app/semvery/__snapshots__/HelpTest.snap
src/test/java/sing/app/semvery/__snapshots__/SemveryTest.snap
src/test/java/sing/app/semvery/__snapshots__/VersionTest.snap