|
|
@ -242,7 +242,7 @@ release-linux: |
|
|
|
@hash xgo > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
|
|
|
|
@hash xgo > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
|
|
|
|
$(GO) get -u github.com/karalabe/xgo; \
|
|
|
|
$(GO) get -u github.com/karalabe/xgo; \
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
xgo -dest $(DIST)/binaries -tags 'netgo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'linux/*' -out gitea-$(VERSION) .
|
|
|
|
xgo -dest $(DIST)/binaries -tags 'netgo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'linux/386,linux/amd64' -out gitea-$(VERSION) .
|
|
|
|
ifeq ($(CI),drone) |
|
|
|
ifeq ($(CI),drone) |
|
|
|
mv /build/* $(DIST)/binaries
|
|
|
|
mv /build/* $(DIST)/binaries
|
|
|
|
endif |
|
|
|
endif |
|
|
|