mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 11:51:02 +00:00
fix how we copy the static binary to /release
This commit is contained in:
parent
5b88ee0124
commit
a3d6aeeb97
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue