Skip to content

Commit 4ef0523

Browse files
Rename variables to ensure compatibility with existing packaging script, update go version (#93)
1 parent c97eb86 commit 4ef0523

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
GOOS?=$(shell go env GOOS)
2-
GIT_COMMIT?=$(shell git rev-parse --short HEAD)
3-
GIT_BRANCH?=$(shell git rev-parse --abbrev-ref HEAD 2>/dev/null)
2+
GITCOMMIT?=$(shell git rev-parse --short HEAD)
3+
GITBRANCH?=$(shell git rev-parse --abbrev-ref HEAD 2>/dev/null)
44
BUILD_TIME := $(shell TZ=UTC date "+%Y-%m-%d_%H:%M_UTC")
55
BUILD_INFO := \
66
-X main.Platform=$(GOOS) \
7-
-X main.GitCommit=$(GIT_COMMIT) \
8-
-X main.GitBranch=$(GIT_BRANCH) \
7+
-X main.GitCommit=$(GITCOMMIT) \
8+
-X main.GitBranch=$(GITBRANCH) \
99
-X main.BuildTime=$(BUILD_TIME)
1010

1111

packaging/scripts/percona-mongolink_builder.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ install_golang() {
152152
elif [ x"$ARCH" = "xaarch64" ]; then
153153
GO_ARCH="arm64"
154154
fi
155-
GO_VERSION="1.23.8"
155+
GO_VERSION="1.24.3"
156156
GO_TAR="go${GO_VERSION}.linux-${GO_ARCH}.tar.gz"
157157
GO_URL="https://downloads.percona.com/downloads/packaging/go/${GO_TAR}"
158158
DL_PATH="/tmp/${GO_TAR}"

0 commit comments

Comments
 (0)