mkvtoolnix/packaging/windows/msix/create_all_packages.sh
2021-03-20 13:56:55 +01:00

24 lines
467 B
Bash
Executable File

#!/bin/bash
set -e -x
cd "$(dirname "$(readlink -f "$0")")"
base_dir=/z/home/mosu/files/html/bunkus.org/videotools/mkvtoolnix/windows/releases
function determine_latest_version {
ls "${base_dir}" | \
grep '[0-9]*\.[0-9]*' | \
sed -Ee 's!.*/!!' | \
sort -V | \
tail -n 1
}
mtxversion=$(determine_latest_version)
for file in "${base_dir}/${mtxversion}"/*.7z; do
./create_package.sh "$file" --sign
done
mv -v package-*/*.msix /z/home/mosu/dl/