Commit f1fcb6e9 authored by Jens Langhammer's avatar Jens Langhammer

Add versioning to tier0 binary

parent 68244ba9
......@@ -19,3 +19,4 @@ tag_name = version/{new_version}
[bumpversion:file:.gitlab-ci.yml]
[bumpversion:file:tier0/internal/version.go]
package internal
const Version = "0.5.6"
......@@ -8,6 +8,7 @@ import (
"os"
"time"
"git.beryju.org/BeryJu.org/p2/tier0/internal"
"git.beryju.org/BeryJu.org/p2/tier0/pkg/cache"
"git.beryju.org/BeryJu.org/p2/tier0/pkg/constants"
"git.beryju.org/BeryJu.org/p2/tier0/pkg/k8s"
......@@ -21,7 +22,7 @@ import (
func main() {
log.SetLevel(log.DebugLevel)
log.Debug("Starting p2-tier1")
log.Debugf("Starting p2-tier0 Version %s", internal.Version)
k8sc, err := k8s.NewKubernetesContext()
if err != nil {
log.Fatal(err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment