Skip to content

Commit

Permalink
chore: pass through GOOS/GOARCH for release_generate
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobmoellerdev committed Nov 28, 2024
1 parent e5383d5 commit 2fba7ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ NAME := ocm
REPO_ROOT := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
GITHUBORG ?= open-component-model
OCMREPO ?= ghcr.io/$(GITHUBORG)/ocm
VERSION := $(shell go run api/version/generate/release_generate.go print-rc-version $(CANDIDATE))
VERSION := $(shell GOOS=$(GOOS) GOARCH=$(GOARCH) go run api/version/generate/release_generate.go print-rc-version $(CANDIDATE))
COMMIT = $(shell git rev-parse --verify HEAD)
# if EFFECTIVE_VERSION is not set, set it to VERSION+HEAD
# this is not the same as '?=' because it will also set the value if EFFECTIVE_VERSION is set to an empty string
Expand Down

0 comments on commit 2fba7ee

Please sign in to comment.