mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-13 17:48:10 +08:00
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:
@@ -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/^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 . ,)
|
ver=$(echo "${ver}" | tr . ,)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user