Extend and optimize relocatable build config infrastructure
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
package version
|
||||
|
||||
var Version string = "development"
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/hpcng/warewulf/internal/pkg/buildconfig"
|
||||
)
|
||||
|
||||
func GetVersion() string {
|
||||
return Version
|
||||
return fmt.Sprintf("%s-%s", buildconfig.VERSION, buildconfig.RELEASE)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user