From 1eec09d2f298b7148656eff5b78c150c6a91492b Mon Sep 17 00:00:00 2001 From: Geoff Whittington Date: Tue, 25 Apr 2023 20:20:52 -0400 Subject: [PATCH] Discover the version from Git tag --- .github/workflows/main.yml | 2 +- mmrelay.iss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 301fb3f..2fb347a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,7 +28,7 @@ jobs: - name: Build installer uses: nadeemjazmawe/inno-setup-action-cli@v6.0.5 with: - filepath: "./mmrelay.iss" + filepath: "/DAppVersion=${{ github.ref_name }} ./mmrelay.iss" - name: Upload setup.exe to release uses: svenstaro/upload-release-action@v2 diff --git a/mmrelay.iss b/mmrelay.iss index 591b68c..1ec1280 100644 --- a/mmrelay.iss +++ b/mmrelay.iss @@ -4,7 +4,7 @@ //WizardSmallImageFile=smallwiz.bmp AppName=Matrix <> Meshtastic Relay -AppVersion=0.3.5 +AppVersion={#AppVersion} DefaultDirName={userpf}\MM Relay DefaultGroupName=MM Relay UninstallFilesDir={app}