mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-02 16:46:35 +00:00
fix(ci): Disable ARM MSI builds
Version of Wix in use (3.11.0.1701) doesn't support ARM builds. Signed-off-by: Ben Reedy <breed808@breed808.com>
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -72,7 +72,7 @@ jobs:
|
|||||||
$TagName = $env:GITHUB_REF -replace 'refs/tags/', ''
|
$TagName = $env:GITHUB_REF -replace 'refs/tags/', ''
|
||||||
# The MSI version is not semver compliant, so just take the numerical parts
|
# The MSI version is not semver compliant, so just take the numerical parts
|
||||||
$MSIVersion = $TagName -replace '^v?([0-9\.]+).*$','$1'
|
$MSIVersion = $TagName -replace '^v?([0-9\.]+).*$','$1'
|
||||||
foreach($Arch in "amd64", "arm64","386") {
|
foreach($Arch in "amd64", "386") {
|
||||||
Write-Verbose "Building windows_exporter $MSIVersion msi for $Arch"
|
Write-Verbose "Building windows_exporter $MSIVersion msi for $Arch"
|
||||||
.\installer\build.ps1 -PathToExecutable .\output\windows_exporter-$BuildVersion-$Arch.exe -Version $MSIVersion -Arch "$Arch"
|
.\installer\build.ps1 -PathToExecutable .\output\windows_exporter-$BuildVersion-$Arch.exe -Version $MSIVersion -Arch "$Arch"
|
||||||
Move-Item installer\Output\windows_exporter-$MSIVersion-$Arch.msi output\
|
Move-Item installer\Output\windows_exporter-$MSIVersion-$Arch.msi output\
|
||||||
|
|||||||
Reference in New Issue
Block a user