Fix update-version-number script to patch all *.iss files, not just the specific one it did before, to ensure future releases have correct version numbers

This commit is contained in:
Jonathan Campbell
2024-07-03 15:56:06 -07:00
parent 09f92699aa
commit 22e5f1d8a4

View File

@@ -20,7 +20,7 @@ sed -b -i "s/VERSION \"\([0-9.]\+\)\"/VERSION \"${ver}\"/g" vs/config_package.h
sed -b -i "s/^AC_INIT(dosbox-x,\([0-9.]\+\)/AC_INIT(dosbox-x,${ver}/" configure.ac
sed -b -i "s/^#define MyAppVersion \"\([0-9.]\+\)\"/#define MyAppVersion \"${ver}\"/" contrib/windows/installer/DOSBox-X-setup.iss
find contrib/windows/installer -type f -name '*.iss' -exec sed -b -i "s/^#define MyAppVersion \"\([0-9.]\+\)\"/#define MyAppVersion \"${ver}\"/" {} +
ver=$(echo "${ver}" | tr . ,)