From 720696f5ec37454f86ed25f6b573d203cee6fff3 Mon Sep 17 00:00:00 2001 From: Roger Far Date: Fri, 21 Mar 2025 16:40:21 -0600 Subject: [PATCH] no message --- .github/workflows/build-release.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index 7cbb815..fe6e555 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -115,10 +115,12 @@ jobs: - name: Build and Publish Backend working-directory: server + shell: pwsh run: | + $v = "${{ needs.version.outputs.version }}".TrimStart('v') dotnet restore - dotnet build -c Release --no-restore -p:Version=${{ needs.version.outputs.version }} -p:AssemblyVersion=${{ needs.version.outputs.version }} - dotnet publish -c Release --no-build -p:Version=${{ needs.version.outputs.version }} -p:AssemblyVersion=${{ needs.version.outputs.version }} -o ../publish + dotnet build -c Release --no-restore -p:Version=$v -p:AssemblyVersion=$v + dotnet publish -c Release --no-build -p:Version=$v -p:AssemblyVersion=$v -o ../publish - name: Create ZIP run: |