/javacli-semvery

java semver utilities

Primary LanguageJavaMIT LicenseMIT

javacli-semvery

semver utilities

GitHub GitHub last commit GitHub tag (latest by date) GitHub issues GitHub closed issues GitHub pull requests GitHub closed pull requests GitHub top language GitHub language count Lines of code GitHub repo size GitHub code size in bytes Workflow workflow workflow

Release GitHub release (latest by date) GitHub all releases GitHub Release Date

Quality-CodeClimate Maintainability Code Climate maintainability Code Climate issues Code Climate technical debt Test Coverage Quality-Sonar Code Smells Duplicated Lines (%) Bugs Vulnerabilities Technical Debt Maintainability Rating Security Rating Reliability Rating Quality Gate Status Lines of Code Coverage Sonar Violations (short format) Sonar Violations (short format) Sonar Violations (short format) Sonar Violations (short format) Sonar Violations (short format) Sonar Violations (short format) Sonar Violations (long format)

Generic badge Generic badge visitors

Installation

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

URL

Reference

Quality

Run

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

Files to update for version update

  • 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