Skip to content

Commit

Permalink
(chore) build releases with 1.16.4
Browse files Browse the repository at this point in the history
  • Loading branch information
leonjza committed May 26, 2021
1 parent 0685be6 commit 186f57e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ APPVER := $(shell grep 'version =' cmd/version.go | cut -d \" -f2)
PWD := $(shell pwd)
LD_FLAGS := -ldflags="-s -w -X=github.com/sensepost/gowitness/cmd.gitHash=$(V) -X=github.com/sensepost/gowitness/cmd.goVer=$(G)"
BIN_DIR := build
DOCKER_GO_VER := 1.15.10# https://github.com/elastic/golang-crossbuild
DOCKER_GO_VER := 1.16.4# https://github.com/elastic/golang-crossbuild
DOCKER_RELEASE_BUILD_CMD := docker run --rm -it -v $(PWD):/go/src/github.com/sensepost/gowitness \
-w /go/src/github.com/sensepost/gowitness -e CGO_ENABLED=1 \
docker.elastic.co/beats-dev/golang-crossbuild:$(DOCKER_GO_VER)
Expand Down Expand Up @@ -36,7 +36,7 @@ windows:
release: clean generate darwin-release linux-release windows-release integrity

darwin-release:
$(DOCKER_RELEASE_BUILD_CMD)-darwin --build-cmd "make darwin" -p "darwin/amd64"
$(DOCKER_RELEASE_BUILD_CMD)-darwin-debian10 --build-cmd "make darwin" -p "darwin/amd64"
linux-release:
$(DOCKER_RELEASE_BUILD_CMD)-main --build-cmd "make linux" -p "linux/amd64"
windows-release:
Expand Down

0 comments on commit 186f57e

Please sign in to comment.