Skip to content

Commit

Permalink
Merge pull request #5026 from dragonchaser/remove-windows-from-build
Browse files Browse the repository at this point in the history
remove windows from ci & release makefile
  • Loading branch information
dragonchaser authored Nov 11, 2022
2 parents 03f53a3 + b0f38b9 commit 4d19dfd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ config = {
"from_secret": "private_rocketchat",
},
"binaryReleases": {
"os": ["linux", "darwin", "windows"],
"os": ["linux", "darwin"],
},
"dockerReleases": {
"architectures": ["arm", "arm64", "amd64"],
Expand Down
14 changes: 1 addition & 13 deletions .make/release.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ changelog: $(CALENS) ## generate changelog
$(CALENS) -i ../changelog -t ../changelog/CHANGELOG.tmpl >| ../CHANGELOG.md

.PHONY: release
release: release-dirs release-linux release-windows release-darwin release-copy release-check
release: release-dirs release-linux release-darwin release-copy release-check

.PHONY: release-dirs
release-dirs:
Expand Down Expand Up @@ -91,18 +91,6 @@ release-linux: release-dirs
@# https://github.com/golang/go/issues/50405
@# -buildmode=pie not easily doable for arm

.PHONY: release-windows
release-windows: release-dirs
GOOS=windows \
GOARCH=amd64 \
go build \
-tags 'netgo $(TAGS)' \
-buildmode=pie \
-trimpath \
-ldflags '-extldflags "-static" $(LDFLAGS)' \
-o '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-windows-amd64' \
./cmd/$(NAME)

.PHONY: release-darwin
release-darwin: release-dirs
GOOS=darwin \
Expand Down
6 changes: 6 additions & 0 deletions changelog/unreleased/remove-windows.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Enhancement: Remove windows from ci & release makefile

We have removed windows from the ci & release makefile

https://github.com/owncloud/ocis/pull/5026
https://github.com/owncloud/ocis/issues/5011

0 comments on commit 4d19dfd

Please sign in to comment.