Skip to content

Commit

Permalink
Don't build server for Windows environments (#152)
Browse files Browse the repository at this point in the history
* Don't build server for Windows environments

* Update manifest version
  • Loading branch information
nickmisasi authored Jan 25, 2024
1 parent 510639a commit 7b2bd8c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ ifneq ($(HAS_SERVER),)
cd server && env GOOS=linux GOARCH=amd64 $(GO) build $(GO_BUILD_FLAGS) -ldflags '$(LDFLAGS)' -o dist/plugin-linux-amd64;
cd server && env GOOS=darwin GOARCH=amd64 $(GO) build $(GO_BUILD_FLAGS) -ldflags '$(LDFLAGS)' -o dist/plugin-darwin-amd64;
cd server && env GOOS=darwin GOARCH=arm64 $(GO) build $(GO_BUILD_FLAGS) -ldflags '$(LDFLAGS)' -o dist/plugin-darwin-arm64;
cd server && env GOOS=windows GOARCH=amd64 $(GO) build $(GO_BUILD_FLAGS) -ldflags '$(LDFLAGS)' -o dist/plugin-windows-amd64.exe;
endif

## Ensures NPM dependencies are installed without having to run this all the time.
Expand Down
5 changes: 2 additions & 3 deletions plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
"id": "com.mattermost.cloud",
"name": "Mattermost Private Cloud",
"description": "This plugin allows spinning up and down Mattermost installations using Mattermost Private Cloud.",
"version": "0.1.34",
"version": "0.1.35",
"min_server_version": "8.1.0",
"server": {
"executables": {
"linux-amd64": "server/dist/plugin-linux-amd64",
"darwin-amd64": "server/dist/plugin-darwin-amd64",
"darwin-arm64": "server/dist/plugin-darwin-arm64",
"windows-amd64": "server/dist/plugin-windows-amd64.exe"
"darwin-arm64": "server/dist/plugin-darwin-arm64"
}
},
"webapp": {
Expand Down
2 changes: 1 addition & 1 deletion server/manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ var manifest = struct {
Version string
}{
ID: "com.mattermost.cloud",
Version: "0.1.34",
Version: "0.1.35",
}
2 changes: 1 addition & 1 deletion webapp/src/manifest.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export const id = 'com.mattermost.cloud';
export const version = '0.1.34';
export const version = '0.1.35';

0 comments on commit 7b2bd8c

Please sign in to comment.