Skip to content

Commit 1b1a857

Browse files
authored
Merge pull request #311 from jfrog/feature/VAULT-100001
VAULT-100001 - Recognise ARCH type for arm64
2 parents 73ba493 + 1ede655 commit 1b1a857

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ ifeq ($(GO_ARCH), amd64)
66
GORELEASER_ARCH := $(TARGET_ARCH)_$(shell go env GOAMD64)
77
endif
88

9+
ifeq ($(GO_ARCH), arm64)
10+
GORELEASER_ARCH := $(TARGET_ARCH)_$(shell go env GOARM64)
11+
endif
12+
913
GIT_SHORT_HASH := $(shell git rev-parse --short HEAD)
1014
CURRENT_VERSION := $(shell git describe --tags --abbrev=0 | sed -n 's/v\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1.\2.\3/p')
1115
NEXT_VERSION := $(shell echo $(CURRENT_VERSION) | awk -F '.' '{print $$1 "." $$2 "." $$3 +1}')-dev+$(GIT_SHORT_HASH)

0 commit comments

Comments
 (0)