Skip to content

Commit d8c397d

Browse files
authored
Handle SDK version tags (#1925)
* only consider main version tags during build * fix log line
1 parent 7a93ac5 commit d8c397d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ GOOS ?= $(shell go env GOOS)
2020

2121
export CGO_ENABLED := 0
2222

23-
export GIT_TAG ?= $(shell git tag --points-at HEAD)
23+
export GIT_TAG ?= $(shell git tag --points-at HEAD 'v*')
2424

2525
export GOFLAGS?=-mod=readonly -trimpath
2626

hack/ci/setup-machine-controller-in-kind.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,10 @@ if [ ! -f machine-controller-deployed ]; then
6868
fi
6969

7070
OSM_TMP_DIR=/tmp/osm
71-
echodate "Clone OSM respository"
7271
(
7372
# Clone OSM repo
7473
mkdir -p $OSM_TMP_DIR
75-
echodate "Cloning cluster exposer"
74+
echodate "Cloning OSM respository"
7675
git clone --depth 1 --branch "${OSM_REPO_TAG}" "${OSM_REPO_URL}" $OSM_TMP_DIR
7776
)
7877

0 commit comments

Comments
 (0)