From 84350fa6073b52aab9a28d213c4e501d80fa8daa Mon Sep 17 00:00:00 2001 From: Brandon Johnson Date: Thu, 23 Jun 2022 10:45:32 -0400 Subject: [PATCH] feat: Add windows service definition to archive (#515) --- .goreleaser.yml | 4 +++- Makefile | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 37c710bbe..258781e49 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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 diff --git a/Makefile b/Makefile index abbf7f25a..09d164fc2 100644 --- a/Makefile +++ b/Makefile @@ -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