compver

With this small cli tool, you can compare two versions with each other. Currently, it is important to know that we only compare the version core (x.y.z). This means that currently the pre-releases and the meta information are not taken into account.
Our version specifications are based on semantic versioning. Here you can find the corresponding definition.
Installation
In order to install the tool correctly, you need to download it here and make it executable. After that you can move the binary into the application folder and use it via the terminal.
# Download the binary
curl -L -o compver <URL>
# Make the binary executable
chmod +x compver
# Move to application directory
sudo mv compver /usr/local/bin
How to use
Actually, you don't need to know much to execute the command. You actually only compare the newest version with the older version. We assume that VERSION1 is the newer version and VERSION2 is the older one. But downgrades of versions can also be recorded.
compver <VERSION1> <VERSION2>
If this command is executed now, we get an information back, this can contain the following information: no changes, major update, major downgrade, minor update, minor downgrade, patch update & patch downgrade.
Special thanks
Thanks to JetBrains for supporting me with this and other open source projects.