mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-15 11:52:12 +03:00
Add arm64 v7 option
This commit is contained in:
parent
4066de695d
commit
70069e4e23
5
Makefile
5
Makefile
@ -58,6 +58,11 @@ release: clean assets
|
|||||||
-ldflags "-s -w -X github.com/sosedoff/pgweb/pkg/command.GitCommit=$(GIT_COMMIT) -X github.com/sosedoff/pgweb/pkg/command.BuildTime=$(BUILD_TIME) -X github.com/sosedoff/pgweb/pkg/command.GoVersion=$(GO_VERSION)" \
|
-ldflags "-s -w -X github.com/sosedoff/pgweb/pkg/command.GitCommit=$(GIT_COMMIT) -X github.com/sosedoff/pgweb/pkg/command.BuildTime=$(BUILD_TIME) -X github.com/sosedoff/pgweb/pkg/command.GoVersion=$(GO_VERSION)" \
|
||||||
-o "./bin/pgweb_linux_arm_v5"
|
-o "./bin/pgweb_linux_arm_v5"
|
||||||
|
|
||||||
|
@echo "Building ARM64 binaries..."
|
||||||
|
GOOS=linux GOARCH=arm64 GOARM=7 go build \
|
||||||
|
-ldflags "-s -w -X github.com/sosedoff/pgweb/pkg/command.GitCommit=$(GIT_COMMIT) -X github.com/sosedoff/pgweb/pkg/command.BuildTime=$(BUILD_TIME) -X github.com/sosedoff/pgweb/pkg/command.GoVersion=$(GO_VERSION)" \
|
||||||
|
-o "./bin/pgweb_linux_arm64_v7"
|
||||||
|
|
||||||
@echo "\nPackaging binaries...\n"
|
@echo "\nPackaging binaries...\n"
|
||||||
@./script/package.sh
|
@./script/package.sh
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user