This commit is contained in:
parent
75431e1ca5
commit
01e7540530
@ -114,7 +114,6 @@ steps:
|
||||
GOPATH: /srv/app
|
||||
commands:
|
||||
- make release-windows
|
||||
- mv /build/* binaries/
|
||||
depends_on: [ before-static-build ]
|
||||
|
||||
- name: static-build-linux
|
||||
@ -124,7 +123,6 @@ steps:
|
||||
GOPATH: /srv/app
|
||||
commands:
|
||||
- make release-linux
|
||||
- mv /build/* binaries/
|
||||
depends_on: [ before-static-build ]
|
||||
|
||||
- name: static-build-darwin
|
||||
@ -134,7 +132,6 @@ steps:
|
||||
GOPATH: /srv/app
|
||||
commands:
|
||||
- make release-darwin
|
||||
- mv /build/* binaries/
|
||||
depends_on: [ before-static-build ]
|
||||
|
||||
- name: after-build-static
|
||||
@ -308,7 +305,6 @@ steps:
|
||||
GOPATH: /srv/app
|
||||
commands:
|
||||
- make release-windows
|
||||
- mv /build/* binaries/
|
||||
depends_on: [ before-static-build ]
|
||||
|
||||
- name: static-build-linux
|
||||
@ -318,7 +314,6 @@ steps:
|
||||
GOPATH: /srv/app
|
||||
commands:
|
||||
- make release-linux
|
||||
- mv /build/* binaries/
|
||||
depends_on: [ before-static-build ]
|
||||
|
||||
- name: static-build-darwin
|
||||
@ -328,7 +323,6 @@ steps:
|
||||
GOPATH: /srv/app
|
||||
commands:
|
||||
- make release-darwin
|
||||
- mv /build/* binaries/
|
||||
depends_on: [ before-static-build ]
|
||||
|
||||
- name: after-build-static
|
||||
|
9
Makefile
9
Makefile
@ -116,6 +116,9 @@ release-windows:
|
||||
go install $(GOFLAGS) github.com/karalabe/xgo; \
|
||||
fi
|
||||
xgo -dest $(DIST)/binaries -tags 'netgo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'windows/*' -out vikunja-$(VERSION) .
|
||||
ifneq ($(DRONE_WORKSPACE),'')
|
||||
mv /build/* $(DIST)/binaries
|
||||
endif
|
||||
|
||||
.PHONY: release-linux
|
||||
release-linux:
|
||||
@ -123,6 +126,9 @@ release-linux:
|
||||
go install $(GOFLAGS) github.com/karalabe/xgo; \
|
||||
fi
|
||||
xgo -dest $(DIST)/binaries -tags 'netgo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'linux/*' -out vikunja-$(VERSION) .
|
||||
ifneq ($(DRONE_WORKSPACE),'')
|
||||
mv /build/* $(DIST)/binaries
|
||||
endif
|
||||
|
||||
.PHONY: release-darwin
|
||||
release-darwin:
|
||||
@ -130,6 +136,9 @@ release-darwin:
|
||||
go install $(GOFLAGS) github.com/karalabe/xgo; \
|
||||
fi
|
||||
xgo -dest $(DIST)/binaries -tags 'netgo $(TAGS)' -ldflags '$(LDFLAGS)' -targets 'darwin/*' -out vikunja-$(VERSION) .
|
||||
ifneq ($(DRONE_WORKSPACE),'')
|
||||
mv /build/* $(DIST)/binaries
|
||||
endif
|
||||
|
||||
.PHONY: release-copy
|
||||
release-copy:
|
||||
|
Loading…
x
Reference in New Issue
Block a user