File tree 3 files changed +5
-5
lines changed 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 74
74
run : |
75
75
export GOPATH=${GITHUB_WORKSPACE}/go
76
76
export PATH=$PATH:$GOPATH/bin
77
- export GOOS =${{ matrix.os }}
78
- export GOARCH =${{ matrix.arch }}
77
+ export TARGET_OS =${{ matrix.os }}
78
+ export TARGET_ARCH =${{ matrix.arch }}
79
79
if [ ! -z ${{ steps.check_staging.outputs.STAGING }} ]; then
80
80
export REL_VER=${{ steps.check_staging.outputs.STAGING }}+staging
81
81
else
Original file line number Diff line number Diff line change 95
95
CGO_ENABLED=1 $(GO ) build -tags codes -gcflags " all=-N -l" -ldflags ' $(LDFLAGS)' -o $(BR_BIN_PATH ) cmd/br/* .go
96
96
97
97
release :
98
- CGO_ENABLED=1 $(GO ) build -tags codes -ldflags ' $(LDFLAGS)' -o $(BR_BIN_PATH ) cmd/br/* .go
98
+ CGO_ENABLED=1 GOOS= $( TARGET_OS ) GOARCH= $( TARGET_ARCH ) $(GO ) build -tags codes -ldflags ' $(LDFLAGS)' -o $(BR_BIN_PATH ) cmd/br/* .go
99
99
100
100
build/rawkv-integration-test :
101
101
cd tests/rawkv && $(GO ) build -mod=mod -o ../../bin/rawkv_test * .go
Original file line number Diff line number Diff line change 21
21
22
22
BUILD_FLAG := -buildvcs=false
23
23
24
- GOBUILD := CGO_ENABLED=0 GOOS=$(GOOS ) GOARCH=$(GOARCH ) $(GO ) build $(BUILD_FLAG ) -trimpath $(GOVENDORFLAG )
24
+ GOBUILD := CGO_ENABLED=0 GOOS=$(TARGET_OS ) GOARCH=$(TARGET_ARCH ) $(GO ) build $(BUILD_FLAG ) -trimpath $(GOVENDORFLAG )
25
25
GOBUILD_DEBUG := CGO_ENABLED=0 $(GO ) build $(BUILD_FLAG ) -gcflags "all=-N -l" $(GOVENDORFLAG )
26
26
GOBUILDNOVENDOR := CGO_ENABLED=0 $(GO ) build $(BUILD_FLAG ) -trimpath
27
27
GOTEST := CGO_ENABLED=1 $(GO ) test -p $(P ) --race
@@ -45,7 +45,7 @@ FAILPOINT_DISABLE := $$(echo $(FAILPOINT_DIR) | xargs $(FAILPOINT) disable >/dev
45
45
46
46
RELEASE_VERSION ?=
47
47
ifeq ($(RELEASE_VERSION ) ,)
48
- RELEASE_VERSION := v1.2 -master
48
+ RELEASE_VERSION := v1.3 -master
49
49
release_version_regex := ^cdc-v[0-9]\..*$$
50
50
release_branch_regex := "^cdc-[0-9]\.[0-9].*$$|^HEAD$$|^.*/*tags/cdc-v[0-9]\.[0-9]\..*$$"
51
51
ifneq ($(shell git rev-parse --abbrev-ref HEAD | egrep $(release_branch_regex)),)
You can’t perform that action at this time.
0 commit comments