Files
obitools4/pkg/obioptions/version.go
Eric Coissac c8ad96f5e6 First fonctionnal version with fixed tag length and strict matching
Former-commit-id: 5affee2c7c66dd1da5b17c2d1ea64f44db76df50
2024-06-04 21:46:09 +02:00

20 lines
490 B
Go

package obioptions
import (
"fmt"
)
// TODO: The version number is extracted from git. This induces that the version
// corresponds to the last commit, and not the one when the file will be
// commited
var _Commit = "d00f335"
var _Version = "Release 4.2.0"
// Version returns the version of the obitools package.
//
// No parameters.
// Returns a string representing the version of the obitools package.
func VersionString() string {
return fmt.Sprintf("%s (%s)", _Version, _Commit)
}