Repository navigation
Releases
v0.2.0
Install
Recommended: clone + run via Gradle (works on macOS, Linux, Windows)
(
set -e
git clone https://github.com/AndreKurait/snap-version
cd snap-version
git checkout v0.2.0
./gradlew installDist "-Pversion=0.2.0"
build/install/snap-version/bin/snap-version --help
)A Java installation is needed to launch Gradle. The build can
provision its configured Java 21 daemon/toolchain when necessary.
Windows users can use gradlew.bat and the generated .bat launcher.
Or: download a prebuilt JVM distribution
(
set -eu
artifact="snap-version-0.2.0.tar"
release="https://github.com/AndreKurait/snap-version/releases/download/v0.2.0"
curl -fLO "$release/$artifact"
curl -fLO "$release/SHA256SUMS.txt"
awk -v file="$artifact" '$2 == "./" file || $2 == file { if (NF != 2 || length($1) != 64 || $1 ~ /[^[:xdigit:]]/) exit 1; print $1 " " file; found++ } END { if (found != 1) exit 1 }' SHA256SUMS.txt > "$artifact.sha256"
if command -v sha256sum >/dev/null 2>&1; then
sha256sum -c "$artifact.sha256"
else
shasum -a 256 -c "$artifact.sha256"
fi || exit 1
tar -xf "$artifact"
./snap-version-0.2.0/bin/snap-version --help
)Requires Java 21+ on $PATH (Temurin / Corretto / etc.).
Or: single fat JAR
(
set -eu
artifact="snap-version-0.2.0-all.jar"
release="https://github.com/AndreKurait/snap-version/releases/download/v0.2.0"
curl -fLO "$release/$artifact"
curl -fLO "$release/SHA256SUMS.txt"
awk -v file="$artifact" '$2 == "./" file || $2 == file { if (NF != 2 || length($1) != 64 || $1 ~ /[^[:xdigit:]]/) exit 1; print $1 " " file; found++ } END { if (found != 1) exit 1 }' SHA256SUMS.txt > "$artifact.sha256"
if command -v sha256sum >/dev/null 2>&1; then
sha256sum -c "$artifact.sha256"
else
shasum -a 256 -c "$artifact.sha256"
fi || exit 1
java -jar "$artifact" --help
)Each download example checks only the downloaded artifact's entry
and stops if the checksum is missing, duplicated, or incorrect.
Verification uses sha256sum when available and shasum -a 256
on macOS. These JVM artifacts require Java 21+. Metadata
rewriting does not establish downgrade compatibility; read the
README and work only on an offline copy with an untouched backup.
What's Changed
- Preflight metadata rewrites and make releases reproducible by @AndreKurait in #1
- Prepare snap-version 0.2.0 with verified draft publication by @AndreKurait in #2
New Contributors
- @AndreKurait made their first contribution in #1
Full Changelog: v0.1.1...v0.2.0
v0.1.1
Install
Recommended: clone + run via Gradle (works on macOS, Linux, Windows)
git clone https://github.com/AndreKurait/snap-version
cd snap-version
./gradlew installDist
build/install/snap-version/bin/snap-version --helpThe Gradle wrapper auto-provisions Java 21 if needed (no admin
rights required). No Gatekeeper / unsigned-binary issues.
Or: download a prebuilt JVM distribution
curl -L -o snap-version.tar https://github.com/AndreKurait/snap-version/releases/download/v0.1.1/snap-version-0.1.1.tar
tar -xf snap-version.tar
./snap-version-0.1.1/bin/snap-version --helpRequires Java 21+ on $PATH (Temurin / Corretto / etc.).
Or: single fat JAR
curl -L -o snap-version.jar https://github.com/AndreKurait/snap-version/releases/download/v0.1.1/snap-version-0.1.1-all.jar
java -jar snap-version.jar --helpVerify checksums
curl -L -O https://github.com/AndreKurait/snap-version/releases/download/v0.1.1/SHA256SUMS.txt
sha256sum -c SHA256SUMS.txtFull Changelog: v0.1.0...v0.1.1
v0.1.0
Install
From a release archive (any OS with Java 21+)
curl -L -o snap-version.tar https://github.com/AndreKurait/snap-version/releases/download/v0.1.0/snap-version-0.1.0.tar
tar -xf snap-version.tar
./snap-version-0.1.0/bin/snap-version --helpVerify checksums
curl -L -O https://github.com/AndreKurait/snap-version/releases/download/v0.1.0/SHA256SUMS.txt
sha256sum -c SHA256SUMS.txtRequirements
- Java 21+ (Temurin recommended) for the JVM-based release. The release archive is OS-independent — same
.zip/.tarworks on Linux x64/arm64, macOS arm64/x64, and Windows x64 (viabin/snap-version.bat). ./gradlew e2eTestadditionally needs Docker.
Full Changelog: https://github.com/AndreKurait/snap-version/commits/v0.1.0