fix how we copy the static binary to /release

This commit is contained in:
Brad Rydzewski 2016-09-03 13:58:20 -05:00 committed by GitHub
parent 5b88ee0124
commit a3d6aeeb97

View file

@ -45,8 +45,8 @@ build: build_static build_cross build_tar build_sha
build_static:
go install -ldflags '${EXTLDFLAGS}-X github.com/drone/drone/version.VersionDev=$(DRONE_BUILD_NUMBER)' github.com/drone/drone/drone
mkdir -p release/drone
cp $(GOPATH)/bin/drone release/drone
mkdir -p release
cp $(GOPATH)/bin/drone release/
# TODO this is getting moved to a shell script, do not alter
build_cross: