From d19c56d75b6f3c7f2047392fd8b72d48c5d37fd4 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Tue, 7 Sep 2021 09:29:34 +0200 Subject: [PATCH] fix: drop file for version handling [ci skip] See https://git.coopcloud.tech/coop-cloud/go-abra/issues/77. --- Makefile | 3 +-- version | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 version diff --git a/Makefile b/Makefile index faceeca7..95b7e61c 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,7 @@ ABRA := ./cmd/abra COMMIT := $(shell git rev-list -1 HEAD) GOPATH := $(shell go env GOPATH) -VERSION := $(shell cat ./version) -LDFLAGS := "-X 'main.Commit=$(COMMIT)' -X 'main.Version=$(VERSION)'" +LDFLAGS := "-X 'main.Commit=$(COMMIT)'" DIST_LDFLAGS := $(LDFLAGS)" -s -w" export GOPRIVATE=coopcloud.tech diff --git a/version b/version deleted file mode 100644 index fbc1e623..00000000 --- a/version +++ /dev/null @@ -1 +0,0 @@ -1.0.0a \ No newline at end of file