From 329d93a759180cb5ff446835a5740b6a7ffb816a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Wed, 9 Feb 2022 15:15:36 +0100 Subject: [PATCH] Fix Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 01a5613..682f446 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ NAME = apiary INSTALL_PREFIX ?= /usr/local -VERSION = $(shell cat version.go |grep "var Version"| cut -d "=" -f2| tr -d "\" ") +VERSION = $(shell cat version.go |grep "Version"| head -n 1 |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)