summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-06-16 22:14:35 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-06-26 12:13:40 +0200
commit35971c9a80879728a7bec38494a1edc1ecbf740f (patch)
treea64f19f5e4359f674c7d541436b8aca51133b10e /build.sh
parent3b9c7e91bc4f89d7e134bc4c848eae52a0030921 (diff)
[feat] include git version in generated variable
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 402525f..4ce1e77 100755
--- a/build.sh
+++ b/build.sh
@@ -28,6 +28,7 @@ function init {
function buildGoLib {
echo "[+] Using go in" $GO "[`go version`]"
+ $GO generate ./pkg/config/version/gen.go
if [ "$XBUILD" == "no" ]
then
echo "[+] Building Go library with standard Go compiler"