Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 19:26:09 +01:00

[CI] Makefile: release: only supported platforms

(cherry picked from commit 16381262c5)
(cherry picked from commit c93f41dcef)
(cherry picked from commit cf17c69487)
(cherry picked from commit 174b8cf327)
(cherry picked from commit ae1b8dd441)
(cherry picked from commit 1b56d9049f)
(cherry picked from commit 6b00196175)
(cherry picked from commit 7f9ca7ea4b)
(cherry picked from commit a89650c9eb)
(cherry picked from commit 375526a7e6)
(cherry picked from commit 77ed7a6cb0)
(cherry picked from commit 3e0d9279c2)
(cherry picked from commit 24d440bcf5)
This commit is contained in:
Earl Warren 2023-08-22 08:20:19 +02:00
parent 93ac1a124e
commit 20dadef55c
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -821,7 +821,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