1 Star 0 Fork 0

powerpaas/machine

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
version.go 426 Bytes
Copy Edit Raw Blame History
Joffrey F authored 2018-06-12 16:16 . Bump version to 0.15.0
package version
import (
"fmt"
"strings"
)
var (
Version = "0.15.0"
// GitCommit will be overwritten automatically by the build system
GitCommit = "HEAD"
)
// FullVersion formats the version to be printed
func FullVersion() string {
return fmt.Sprintf("%s, build %s", Version, GitCommit)
}
// RC checks if the Machine version is a release candidate or not
func RC() bool {
return strings.Contains(Version, "rc")
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/powerpaas/machine.git
git@gitee.com:powerpaas/machine.git
powerpaas
machine
machine
v0.15.0-rancher4

Search