Skip to content
Snippets Groups Projects
Select Git revision
  • f5fcf2cc7d17a63839488166dda22f20bd2dd5a0
  • main default
  • y3
  • y1
4 results

gen_domlr_reference.py

Blame
  • version.go 436 B
    package version
    
    import (
    	"fmt"
    	"strings"
    )
    
    var (
    	Version = "0.16.2-gitlab.13"
    
    	// 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")
    }