From feec97b75951c83239bd39970ab878d45767b764 Mon Sep 17 00:00:00 2001 From: Pierre Geeraert Date: Thu, 6 Nov 2025 14:23:16 +0000 Subject: [PATCH] add the version in the dotnet publish instead --- .gitea/workflows/dotnetbuild_runner.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/dotnetbuild_runner.yaml b/.gitea/workflows/dotnetbuild_runner.yaml index e5176f1..ae5808f 100644 --- a/.gitea/workflows/dotnetbuild_runner.yaml +++ b/.gitea/workflows/dotnetbuild_runner.yaml @@ -32,7 +32,7 @@ jobs: - name: Build the package run: dotnet build -p:Version=$next_version,FileVersion=$next_version,AssemblyVersion=$next_version,InformationalVersion=$next_version - name: Publish the package - run: dotnet publish -p:PublishSingleFile=true,AssemblyName=${{ vars.EXECUTABLE_NAME }} --self-contained false --runtime ${{ vars.RUNTIME }} + run: dotnet publish -p:PublishSingleFile=true,AssemblyName=${{ vars.EXECUTABLE_NAME }},Version=$next_version,FileVersion=$next_version,AssemblyVersion=$next_version,InformationalVersion=$next_version --self-contained false --runtime ${{ vars.RUNTIME }} - name: List all files run: |