diff --git a/cmd/goreleaser/internal/configure.go b/cmd/goreleaser/internal/configure.go index a51e044f..21cc2e46 100644 --- a/cmd/goreleaser/internal/configure.go +++ b/cmd/goreleaser/internal/configure.go @@ -114,7 +114,7 @@ func WinPackage(dist string) config.MSI { return config.MSI{ ID: dist, Name: fmt.Sprintf("%s_{{ .Version }}_{{ .Os }}_{{ .MsiArch }}", dist), - WXS: "./windows/installer.wxs", + WXS: "windows-installer.wxs", Files: []string{ "config.yaml", "opentelemetry.ico", diff --git a/distributions/otelcol-contrib/.goreleaser.yaml b/distributions/otelcol-contrib/.goreleaser.yaml index d18c4919..477c2e64 100644 --- a/distributions/otelcol-contrib/.goreleaser.yaml +++ b/distributions/otelcol-contrib/.goreleaser.yaml @@ -6,7 +6,7 @@ env: msi: - id: otelcol-contrib name: otelcol-contrib_{{ .Version }}_{{ .Os }}_{{ .MsiArch }} - wxs: ./windows/installer.wxs + wxs: windows-installer.wxs extra_files: - config.yaml - opentelemetry.ico diff --git a/distributions/otelcol-contrib/windows/installer.wxs b/distributions/otelcol-contrib/windows-installer.wxs similarity index 100% rename from distributions/otelcol-contrib/windows/installer.wxs rename to distributions/otelcol-contrib/windows-installer.wxs diff --git a/distributions/otelcol/.goreleaser.yaml b/distributions/otelcol/.goreleaser.yaml index e693f7ac..fb7ff6fc 100644 --- a/distributions/otelcol/.goreleaser.yaml +++ b/distributions/otelcol/.goreleaser.yaml @@ -6,7 +6,7 @@ env: msi: - id: otelcol name: otelcol_{{ .Version }}_{{ .Os }}_{{ .MsiArch }} - wxs: ./windows/installer.wxs + wxs: windows-installer.wxs extra_files: - config.yaml - opentelemetry.ico diff --git a/distributions/otelcol/windows/installer.wxs b/distributions/otelcol/windows-installer.wxs similarity index 100% rename from distributions/otelcol/windows/installer.wxs rename to distributions/otelcol/windows-installer.wxs