From a2ffbad4a32963ec3ec008e797d413acb7644f92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Wed, 14 Apr 2021 17:32:31 +0200 Subject: [PATCH] Fix makefile for updated version stuff --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3131763..1eadd99 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ NAME = apiary INSTALL_PREFIX ?= /usr/local -VERSION = $(shell cat version.go |grep "Version"| cut -d "=" -f2| tr -d "\" ") +VERSION = $(shell cat version.go |grep "var Version"| cut -d "=" -f2| tr -d "\" ") ARCH = $(shell go env | grep GOHOSTARCH | cut -d"=" -f2 | tr -d "\"") OS = $(shell go env | grep GOHOSTOS | cut -d"=" -f2 | tr -d "\"") GIT_COMMIT := $(shell git rev-parse --short HEAD)