From 77953c593d9699b5d95c13491c5117f1c0077c27 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 14 Sep 2022 19:39:28 +0200 Subject: [PATCH] MSIX packaging: fix determining the version & allow overriding it --- packaging/windows/msix/create_all_packages.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/windows/msix/create_all_packages.sh b/packaging/windows/msix/create_all_packages.sh index 159f0773c..9b3c74090 100755 --- a/packaging/windows/msix/create_all_packages.sh +++ b/packaging/windows/msix/create_all_packages.sh @@ -5,7 +5,6 @@ set -e -x cd "$(dirname "$(readlink -f "$0")")" base_dir=${base_dir:-/z/home/mosu/files/html/bunkus.org/videotools/mkvtoolnix/windows/releases} -archive_dir="${archive_dir:-${base_dir}/${mtxversion}}" function determine_latest_version { ls "${base_dir}" | \ @@ -15,7 +14,8 @@ function determine_latest_version { tail -n 1 } -mtxversion=$(determine_latest_version) +mtxversion=${mtxversion:-$(determine_latest_version)} +archive_dir="${archive_dir:-${base_dir}/${mtxversion}}" sign=