Skip to content

Commit 2acc4b7

Browse files
chore: change TAG to ETAG to avoid stepping on toes (#800)
Signed-off-by: Lance Ball <[email protected]> Co-authored-by: Lance Ball <[email protected]>
1 parent 81f9a48 commit 2acc4b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ BIN_WINDOWS ?= $(BIN)_windows_amd64.exe
1818
DATE := $(shell date -u +"%Y%m%dT%H%M%SZ")
1919
HASH := $(shell git rev-parse --short HEAD 2>/dev/null)
2020
VTAG := $(shell git tag --points-at HEAD)
21-
VTAG := $(shell [ -z $(VTAG) ] && echo $(TAG) || echo $(VTAG))
21+
VTAG := $(shell [ -z $(VTAG) ] && echo $(ETAG) || echo $(VTAG))
2222
VERS ?= $(shell [ -z $(VTAG) ] && echo 'tip' || echo $(VTAG) )
2323
LDFLAGS := "-X main.date=$(DATE) -X main.vers=$(VERS) -X main.hash=$(HASH)"
2424

Diff for: hack/release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ source $(dirname $0)/../vendor/knative.dev/hack/release.sh
2323

2424
function build_release() {
2525
echo "🚧 🐧 Building cross platform binaries: Linux 🐧 (amd64), MacOS 🍏, and Windows 🎠"
26-
TAG=${TAG} make cross-platform
26+
ETAG=${TAG} make cross-platform
2727

2828
ARTIFACTS_TO_PUBLISH="func_darwin_amd64 func_linux_amd64 func_windows_amd64.exe"
2929
sha256sum ${ARTIFACTS_TO_PUBLISH} > checksums.txt

0 commit comments

Comments
 (0)