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 @@ -744,27 +744,27 @@ release-windows: | $(DIST_DIRS)
744
744
ifeq (,$(findstring gogit,$(TAGS ) ) )
745
745
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) run $(XGO_PACKAGE) -go $(XGO_VERSION) -buildmode exe -dest $(DIST)/binaries -tags 'netgo osusergo gogit $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'windows/*' -out gitea-$(VERSION)-gogit .
746
746
endif
747
- ifeq ($(CI ) ,true )
747
+ ifeq ($(CI ) ,drone )
748
748
cp /build/* $(DIST)/binaries
749
749
endif
750
750
751
751
.PHONY : release-linux
752
752
release-linux : | $(DIST_DIRS )
753
753
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 ) .
754
- ifeq ($(CI ) ,true )
754
+ ifeq ($(CI ) ,drone )
755
755
cp /build/* $(DIST)/binaries
756
756
endif
757
757
758
758
.PHONY : release-darwin
759
759
release-darwin : | $(DIST_DIRS )
760
760
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 ) .
761
- ifeq ($(CI ) ,true )
761
+ ifeq ($(CI ) ,drone )
762
762
cp /build/* $(DIST)/binaries
763
763
endif
764
764
765
765
.PHONY : release-copy
766
766
release-copy : | $(DIST_DIRS )
767
- cd $(DIST ) ; for file in ` find . -type f -name " *" ` ; do cp $$ {file} ./release/; done ;
767
+ cd $(DIST ) ; for file in ` find /build -type f -name " *" ` ; do cp $$ {file} ./release/; done ;
768
768
769
769
.PHONY : release-check
770
770
release-check : | $(DIST_DIRS )
You can’t perform that action at this time.
0 commit comments