From 4e1987686bc2107f2ba058bea9d4e87a30d6126c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Sun, 12 May 2024 01:46:05 +0200 Subject: [PATCH] fix: release build again (#1479) --- .github/workflows/release.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 89bd013f..4126b538 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,13 +52,16 @@ jobs: - name: Build run: | $ErrorActionPreference = "Stop" - + 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 make crossbuild - # '+' symbols are invalid characters in image tags - (Get-Content -Path VERSION) -replace '\+', '_' | Set-Content -Path VERSION + make build-all # GH requires all files to have different names, so add version/arch to differentiate foreach($Arch in "amd64", "arm64") {