Skip to content

Commit 7d7878f

Browse files
michi-covalenttklauser
authored andcommitted
Makefile: Remove CILIUM_VERSION variable
Now Cilium CLI sets the default Cilium version without relying on the compile-time flag [^1]. [^1]: cilium/cilium#36344 Signed-off-by: Michi Mutsuzaki <[email protected]>
1 parent 43f930e commit 7d7878f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: Makefile

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@ GO_TAGS ?=
77
TARGET=cilium
88
INSTALL = $(QUIET)install
99
BINDIR ?= /usr/local/bin
10-
CILIUM_VERSION=$(shell curl -s https://raw.githubusercontent.com/cilium/cilium/main/stable.txt)
1110
CLI_VERSION=$(shell git describe --tags --always)
1211
STRIP_DEBUG=-w -s
1312
ifdef DEBUG
1413
STRIP_DEBUG=
1514
endif
1615
GO_BUILD_LDFLAGS ?= $(STRIP_DEBUG) \
17-
-X 'github.com/cilium/cilium/cilium-cli/defaults.CLIVersion=$(CLI_VERSION)' \
18-
-X 'github.com/cilium/cilium/cilium-cli/defaults.Version=$(CILIUM_VERSION)'
16+
-X 'github.com/cilium/cilium/cilium-cli/defaults.CLIVersion=$(CLI_VERSION)'
1917

2018
TEST_TIMEOUT ?= 5s
2119
RELEASE_UID ?= $(shell id -u)

0 commit comments

Comments
 (0)