Skip to content

Commit

Permalink
feat: Add windows service definition to archive (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
BinaryFissionGames authored and StefanKurek committed Aug 4, 2022
1 parent 079d42a commit 8a2a3c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ archives:
- src: release_deps/com.observiq.collector.plist
dst: "install"
strip_parent: true

- src: release_deps/windows_service.json
dst: install
strip_parent: true
format_overrides:
- goos: windows
format: zip
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ release-prep:
@cp config/example.yaml release_deps/config.yaml
@cp config/logging.yaml release_deps/logging.yaml
@cp service/com.observiq.collector.plist release_deps/com.observiq.collector.plist
@jq ".files[] | select(.service != null)" windows/wix.json >> release_deps/windows_service.json

# Build, sign, and release
.PHONY: release
Expand Down

0 comments on commit 8a2a3c3

Please sign in to comment.