mirror of https://github.com/databricks/cli.git
25 lines
686 B
Go
25 lines
686 B
Go
package build
|
|
|
|
var buildProjectName string = "cli"
|
|
var buildVersion string = ""
|
|
|
|
var buildBranch string = "undefined"
|
|
var buildTag string = "undefined"
|
|
var buildShortCommit string = "00000000"
|
|
var buildFullCommit string = "0000000000000000000000000000000000000000"
|
|
var buildCommitTimestamp string = "0"
|
|
var buildSummary string = "v0.0.0"
|
|
|
|
var buildMajor string = "0"
|
|
var buildMinor string = "0"
|
|
var buildPatch string = "0"
|
|
var buildPrerelease string = ""
|
|
var buildIsSnapshot string = "false"
|
|
var buildTimestamp string = "0"
|
|
|
|
// This function is used to set the build version for testing purposes.
|
|
func SetBuildVersion(version string) {
|
|
buildVersion = version
|
|
info.Version = version
|
|
}
|