Skip to content

Commit

Permalink
Merge pull request #85 from turkenh/backport-version-fix-to-release-1.11
Browse files Browse the repository at this point in the history
[release-1.11] Backport: Strip up.x suffix from Crossplane internal version
  • Loading branch information
turkenh authored May 11, 2023
2 parents a7cdc2d + 87b2fbd commit 481be36
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 481be36

Please sign in to comment.