Skip to content

Commit

Permalink
Strip up.x suffix from Crossplane internal version
Browse files Browse the repository at this point in the history
Signed-off-by: Hasan Turken <[email protected]>
(cherry picked from commit c05a12f)
  • Loading branch information
turkenh committed May 10, 2023
1 parent a7cdc2d commit 87b2fbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ GO_TEST_PARALLEL := $(shell echo $$(( $(NPROCS) / 2 )))
GO_REQUIRED_VERSION = 1.19

GO_STATIC_PACKAGES = $(GO_PROJECT)/cmd/crossplane $(GO_PROJECT)/cmd/crank $(GO_PROJECT)/cmd/xfn
GO_LDFLAGS += -X $(GO_PROJECT)/internal/version.version=$(VERSION)
GO_LDFLAGS += -X $(GO_PROJECT)/internal/version.version=$(shell echo $(VERSION) | sed 's/[\.,-]up.*//' )
GO_SUBDIRS += cmd internal apis
GO111MODULE = on
GOLANGCILINT_VERSION = 1.50.1
Expand Down Expand Up @@ -178,4 +178,4 @@ crossplane.help:

help-special: crossplane.help

.PHONY: crossplane.help help-special
.PHONY: crossplane.help help-special

0 comments on commit 87b2fbd

Please sign in to comment.