File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -762,21 +762,21 @@ release-windows: | $(DIST_DIRS)
762
762
ifeq (,$(findstring gogit,$(TAGS ) ) )
763
763
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) run $(XGO_PACKAGE) -go $(XGO_VERSION) -buildmode exe -dest $(DIST)/binaries -tags 'osusergo gogit $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'windows/*' -out gitea-$(VERSION)-gogit .
764
764
endif
765
- ifeq ($(CI ) ,true )
765
+ ifeq ($(CI ) ,drone )
766
766
cp /build/* $(DIST)/binaries
767
767
endif
768
768
769
769
.PHONY : release-linux
770
770
release-linux : | $(DIST_DIRS )
771
771
CGO_CFLAGS=" $( CGO_CFLAGS) " $(GO ) run $(XGO_PACKAGE ) -go $(XGO_VERSION ) -dest $(DIST ) /binaries -tags ' netgo osusergo $(TAGS)' -ldflags ' -linkmode external -extldflags "-static" $(LDFLAGS)' -targets ' $(LINUX_ARCHS)' -out gitea-$(VERSION ) .
772
- ifeq ($(CI ) ,true )
772
+ ifeq ($(CI ) ,drone )
773
773
cp /build/* $(DIST)/binaries
774
774
endif
775
775
776
776
.PHONY : release-darwin
777
777
release-darwin : | $(DIST_DIRS )
778
778
CGO_CFLAGS=" $( CGO_CFLAGS) " $(GO ) run $(XGO_PACKAGE ) -go $(XGO_VERSION ) -dest $(DIST ) /binaries -tags ' netgo osusergo $(TAGS)' -ldflags ' $(LDFLAGS)' -targets ' darwin-10.12/amd64,darwin-10.12/arm64' -out gitea-$(VERSION ) .
779
- ifeq ($(CI ) ,true )
779
+ ifeq ($(CI ) ,drone )
780
780
cp /build/* $(DIST)/binaries
781
781
endif
782
782
@@ -789,7 +789,7 @@ endif
789
789
790
790
.PHONY : release-copy
791
791
release-copy : | $(DIST_DIRS )
792
- cd $(DIST ) ; for file in ` find . -type f -name " *" ` ; do cp $$ {file} ./release/; done ;
792
+ cd $(DIST ) ; for file in ` find /build -type f -name " *" ` ; do cp $$ {file} ./release/; done ;
793
793
794
794
.PHONY : release-check
795
795
release-check : | $(DIST_DIRS )
You can’t perform that action at this time.
0 commit comments