2b6dfa45cd
The --version flag is default from our cli library so I left that. The version subcommand prints only the version number + the short commit so it's a bit more easy to parse. I have additionally reduced the amount of output on start up by converting some messages to debug. I wish there was a level between INFO and DEBUG though. License: MIT Signed-off-by: Hector Sanjuan <code@hector.link>
9 lines
303 B
Go
9 lines
303 B
Go
package ipfscluster
|
|
|
|
// Version is the current cluster version. Version alignment between
|
|
// components, apis and tools ensures compatibility among them.
|
|
const Version = "0.3.1"
|
|
|
|
// Commit is the current build commit of cluster. See Makefile.
|
|
var Commit = "00000000" // actual commit set during builds.
|