-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix cross-compile builds #6609
Fix cross-compile builds #6609
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6609 +/- ##
=========================================
Coverage ? 40.47%
=========================================
Files ? 405
Lines ? 54388
Branches ? 0
=========================================
Hits ? 22012
Misses ? 29349
Partials ? 3027 Continue to review full report at Codecov.
|
@@ -332,7 +334,7 @@ release-windows: | |||
fi | |||
xgo -dest $(DIST)/binaries -tags 'netgo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'windows/*' -out gitea-$(VERSION) . | |||
ifeq ($(CI),drone) | |||
mv /build/* $(DIST)/binaries | |||
cp /build/* $(DIST)/binaries |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we cp -r
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why recursive?
Fix #6600