File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -325,7 +325,7 @@ release-windows:
325
325
@hash xgo > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
326
326
$(GO ) get -u src.techknowlogick.com/xgo; \
327
327
fi
328
- xgo -dest $(DIST ) /binaries -tags ' netgo $(TAGS)' -ldflags ' -linkmode external -extldflags "-static" $(LDFLAGS)' -targets ' windows/*' -out gitea-$(VERSION ) .
328
+ xgo -dest $(DIST ) /binaries -tags ' netgo osusergo $(TAGS)' -ldflags ' -linkmode external -extldflags "-static" $(LDFLAGS)' -targets ' windows/*' -out gitea-$(VERSION ) .
329
329
ifeq ($(CI ) ,drone)
330
330
cp /build/* $(DIST)/binaries
331
331
endif
@@ -335,7 +335,7 @@ release-linux:
335
335
@hash xgo > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
336
336
$(GO ) get -u src.techknowlogick.com/xgo; \
337
337
fi
338
- xgo -dest $(DIST ) /binaries -tags ' netgo $(TAGS)' -ldflags ' -linkmode external -extldflags "-static" $(LDFLAGS)' -targets ' linux/*' -out gitea-$(VERSION ) .
338
+ xgo -dest $(DIST ) /binaries -tags ' netgo osusergo $(TAGS)' -ldflags ' -linkmode external -extldflags "-static" $(LDFLAGS)' -targets ' linux/*' -out gitea-$(VERSION ) .
339
339
ifeq ($(CI ) ,drone)
340
340
cp /build/* $(DIST)/binaries
341
341
endif
@@ -345,7 +345,7 @@ release-darwin:
345
345
@hash xgo > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
346
346
$(GO ) get -u src.techknowlogick.com/xgo; \
347
347
fi
348
- xgo -dest $(DIST ) /binaries -tags ' netgo $(TAGS)' -ldflags ' $(LDFLAGS)' -targets ' darwin/*' -out gitea-$(VERSION ) .
348
+ xgo -dest $(DIST ) /binaries -tags ' netgo osusergo $(TAGS)' -ldflags ' $(LDFLAGS)' -targets ' darwin/*' -out gitea-$(VERSION ) .
349
349
ifeq ($(CI ) ,drone)
350
350
cp /build/* $(DIST)/binaries
351
351
endif
You can’t perform that action at this time.
0 commit comments