compver

command module
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 3 Imported by: 0

README

compver

GitHub go.mod Go version of a Go module Go CodeQL Go Report Card GitHub issues GitHub forks GitHub stars GitHub license

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL