diff options
author | frealgagu | 2019-05-10 09:38:49 -0500 |
---|---|---|
committer | frealgagu | 2019-05-10 09:38:49 -0500 |
commit | 281a923aaea62f5956cf28a3fe4ca70f17da3dd9 (patch) | |
tree | 98fcb9fbe75352d5f89f59da5cd5017cabe522ee /build_info.patch | |
parent | 50cd6a89929a803d6b0fe5bbf75daf06d3392bea (diff) | |
download | aur-281a923aaea62f5956cf28a3fe4ca70f17da3dd9.tar.gz |
Upgrading to version 0.29.0
Diffstat (limited to 'build_info.patch')
-rw-r--r-- | build_info.patch | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/build_info.patch b/build_info.patch index 4e025e02067c..b0b8aacec891 100644 --- a/build_info.patch +++ b/build_info.patch @@ -1,19 +1,18 @@ diff --git a/Makefile b/Makefile -index 290fd85..69490ea 100644 +index 476cbef..292355f 100644 --- a/Makefile +++ b/Makefile -@@ -32,8 +32,9 @@ SUPPORTED_PLATFORMS := linux-$(GOARCH) darwin-$(GOARCH) windows-$(GOARCH).exe +@@ -32,7 +32,8 @@ SUPPORTED_PLATFORMS := linux-$(GOARCH) darwin-$(GOARCH) windows-$(GOARCH).exe BUILD_PACKAGE = $(REPOPATH)/cmd/skaffold VERSION_PACKAGE = $(REPOPATH)/pkg/skaffold/version -COMMIT = $(shell git rev-parse HEAD) +COMMIT ?= $(shell git rev-parse HEAD) - VERSION ?= $(shell git describe --always --tags --dirty) +TREE_STATE ?= $(if $(shell git status --porcelain),dirty,clean) - GO_GCFLAGS := "all=-trimpath=${PWD}" - GO_ASMFLAGS := "all=-trimpath=${PWD}" -@@ -43,7 +44,7 @@ GO_LDFLAGS += -extldflags \"${LDFLAGS}\" + ifeq "$(strip $(VERSION))" "" + override VERSION = $(shell git describe --always --tags --dirty) +@@ -46,7 +47,7 @@ GO_LDFLAGS += -extldflags \"${LDFLAGS}\" GO_LDFLAGS += -X $(VERSION_PACKAGE).version=$(VERSION) GO_LDFLAGS += -X $(VERSION_PACKAGE).buildDate=$(shell date +'%Y-%m-%dT%H:%M:%SZ') GO_LDFLAGS += -X $(VERSION_PACKAGE).gitCommit=$(COMMIT) |