mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-18 18:56:35 +00:00
fix: release build again (#1479)
This commit is contained in:
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@@ -54,11 +54,14 @@ jobs:
|
|||||||
$ErrorActionPreference = "Stop"
|
$ErrorActionPreference = "Stop"
|
||||||
|
|
||||||
dotnet-gitversion /output json /showvariable FullSemVer | Set-Content VERSION -PassThru
|
dotnet-gitversion /output json /showvariable FullSemVer | Set-Content VERSION -PassThru
|
||||||
|
|
||||||
|
# '+' symbols are invalid characters in image tags
|
||||||
|
(Get-Content -Path VERSION) -replace '\+', '_' | Set-Content -Path VERSION
|
||||||
|
|
||||||
$Version = Get-Content VERSION
|
$Version = Get-Content VERSION
|
||||||
|
|
||||||
make crossbuild
|
make crossbuild
|
||||||
# '+' symbols are invalid characters in image tags
|
|
||||||
(Get-Content -Path VERSION) -replace '\+', '_' | Set-Content -Path VERSION
|
|
||||||
make build-all
|
make build-all
|
||||||
# GH requires all files to have different names, so add version/arch to differentiate
|
# GH requires all files to have different names, so add version/arch to differentiate
|
||||||
foreach($Arch in "amd64", "arm64") {
|
foreach($Arch in "amd64", "arm64") {
|
||||||
|
|||||||
Reference in New Issue
Block a user