From 76744ead866d9fa4787bd7e4369cbfc2b49ab68f Mon Sep 17 00:00:00 2001 From: Mauro Regli Date: Fri, 12 May 2023 14:51:45 +0200 Subject: [PATCH] Fix Release failing 'Cannot find goxc' --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d7ec62ac..f2c3468b 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ GOVERSION=$(shell go version | awk '{print $$3;}') +GOPATH=$(shell go env GOPATH) TAG="$(shell git describe --tags --always)" VERSION=$(shell echo $(TAG) | sed 's@^v@@' | sed 's@-@+@g' | tr -d '\n') PACKAGES=context database deb files gpg http query swift s3 utils @@ -19,7 +20,9 @@ modules: go mod tidy -v dev: - go get -u github.com/laher/goxc + PATH=$(BINPATH)/:$(PATH) + go get github.com/laher/goxc + go install github.com/laher/goxc check: system/env ifeq ($(RUN_LONG_TESTS), yes)