From a44600dfb453031dbcf25869f0ce70514d2c9427 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Fri, 13 Nov 2026 19:23:57 +0100 Subject: [PATCH] Fix issue with improper version string --- publish-nix.sh | 6 +++--- publish-win.ps1 | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/publish-nix.sh b/publish-nix.sh index 2fa3043..5f1cec3 100755 --- a/publish-nix.sh +++ b/publish-nix.sh @@ -35,7 +35,7 @@ while getopts "udrbav:" OPTION; do ;; v) HAS_VERSION=true - VERSION=${OPTARG} + BUILD_VERSION=${OPTARG} ;; *) echo "Invalid option provided" @@ -57,7 +57,7 @@ echo " Include debug builds (-d) $INCLUDE_DEBUG" echo " Include release builds (-r) $INCLUDE_RELEASE" echo " No build (-b) $NO_BUILD" echo " No archive (-a) $NO_ARCHIVE" -echo " Version (-v) $HAS_VERSION ($VERSION)" +echo " Version (-v) $HAS_VERSION ($BUILD_VERSION)" echo " " # Create the build matrix arrays @@ -128,7 +128,7 @@ fi if [ $NO_ARCHIVE = false ]; then # Only include a version if one exists if [ $HAS_VERSION = true ]; then - VERSION_STRING="_$RUNTIME" + VERSION_STRING="_$BUILD_VERSION" fi # Create Test archives diff --git a/publish-win.ps1 b/publish-win.ps1 index 0b53dc2..1683fae 100644 --- a/publish-win.ps1 +++ b/publish-win.ps1 @@ -113,7 +113,7 @@ if (!$NO_BUILD.IsPresent) { if (!$NO_ARCHIVE.IsPresent) { # Only include a version if one exists if ($BUILD_VERSION -ne $null) { - $VERSION_STRING = "_$RUNTIME" + $VERSION_STRING = "_$BUILD_VERSION" } # Create Program archives