We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 264e055 commit 0601661Copy full SHA for 0601661
build.sh
@@ -0,0 +1,6 @@
1
+#!/bin/bash
2
+# Build script that injects version from git tag
3
+VERSION=$(git describe --tags --always)
4
+go build -ldflags "-s -w -X github.com/museslabs/kyma/cmd.version=$VERSION" -o kyma main.go
5
+
6
+echo "Binary: ./kyma"
0 commit comments