io7m | single-page | multi-page
1. Orientation
Changelog User Manual 4.1.0
3. Usage

Installation

Download the executable jar file and the command-line wrapper:

2.2 Artifacts

File Description
com.io7m.changelog.cmdline-4.1.0-main.jar The main executable jar.
com.io7m.changelog.cmdline-4.1.0-main.jar.asc The PGP signature of the executable jar.
com.io7m.changelog.cmdline-4.1.0.sh The main command-line wrapper.
com.io7m.changelog.cmdline-4.1.0.sh.asc The PGP signature of the command-line wrapper.
Verify the PGP signatures:

2.4 Verification

$ gpg --verify com.io7m.changelog.cmdline-4.1.0-main.jar.asc
$ gpg --verify com.io7m.changelog.cmdline-4.1.0.sh.asc
The executable jar file can be used directly:

2.6 Executable Jar

$ java -jar com.io7m.changelog.cmdline-4.1.0-main.jar version
changelog 4.1.0
On POSIX-like operating systems, the command-line wrapper can be placed on your $PATH and used as a convenient shorthand. The environment variables $CHANGELOG_HOME and $CHANGELOG_JAR_NAME must be set in order to allow the command-line wrapper to locate the executable jar.

2.8 Environment Variables

$ mkdir $HOME/bin
$ cp com.io7m.changelog.cmdline-4.1.0-main.jar $HOME/bin/

$ export PATH="${PATH}:${HOME}/bin"
$ export CHANGELOG_HOME="$HOME/bin"
$ export CHANGELOG_JAR_NAME="com.io7m.changelog.cmdline-4.1.0-main.jar"

$ changelog version
changelog 4.1.0

$ which changelog
/home/example/bin/changelog
1. Orientation
Changelog User Manual 4.1.0
3. Usage
io7m | single-page | multi-page