From 23efa83de234b53dadbf7b1903a3ca7eee699513 Mon Sep 17 00:00:00 2001 From: Martin Peterlin Date: Thu, 21 Jul 2022 00:59:22 +0200 Subject: [PATCH] Fixed installer version CI --- .github/workflows/demo.workflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/demo.workflow.yml b/.github/workflows/demo.workflow.yml index 1540e6fc4..9e66e43a5 100644 --- a/.github/workflows/demo.workflow.yml +++ b/.github/workflows/demo.workflow.yml @@ -29,11 +29,11 @@ jobs: - name: Set version (Release) if: startsWith(github.ref, 'refs/tags/v') == true - run: echo '#define MyAppVersion "${{ steps.tag.outputs.version-without-v }}"' > version.txt + run: echo '#define MyAppVersion "${{ steps.tag.outputs.version-without-v }}"' > launcher/windows/version.txt - name: Set version if: startsWith(github.ref, 'refs/tags/v') != true - run: echo '#define MyAppVersion "1.0-${{ github.sha }}"' > version.txt + run: echo '#define MyAppVersion "1.0-${{ github.sha }}"' > launcher/windows/version.txt - name: Build Windows Installer run: .\launcher\windows\build.ps1