Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 03:06:10 +01:00

[CI] Makefile: release: only supported platforms

(cherry picked from commit 16381262c5)
(cherry picked from commit c93f41dcef)
This commit is contained in:
Earl Warren 2023-08-22 08:20:19 +02:00
parent 0d061e411f
commit cf17c69487
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -815,7 +815,7 @@ static-executable: $(GO_SOURCES) $(TAGS_PREREQ)
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) build $(GOFLAGS) $(EXTRA_GOFLAGS) -tags 'netgo osusergo $(TAGS)' -ldflags '-s -w -linkmode external -extldflags "-static" $(LDFLAGS)' -o $(EXECUTABLE)
.PHONY: release
release: frontend generate release-windows release-linux release-darwin release-freebsd release-copy release-compress vendor release-sources release-docs release-check
release: frontend generate release-linux release-copy release-compress vendor release-sources release-check
# just the sources, with all assets builtin and frontend resources generated
sources-tarbal: frontend generate vendor release-sources release-check