Back down to -O2 in case it fixes problems with windows.
[dcpomatic.git] / release
diff --git a/release b/release
index 88e09dc7f195254599bc27b2088233542ff57a5e..807bd264c8a106218e01ab3660eea0384f1c76c8 100755 (executable)
--- a/release
+++ b/release
@@ -49,7 +49,7 @@ def append_to_changelog(version):
 
     f = open('ChangeLog', 'w')
     now = datetime.datetime.now()
-    f.write('%d-%02d-%02d  Carl Hetherington  <cth@carlh.net>\n\n\tVersion %s released.\n\n' % (now.year, now.month, now.day, version))
+    f.write('%d-%02d-%02d  Carl Hetherington  <cth@carlh.net>\n\n\tVersion %s released.\n\n' % (now.year, now.month, now.day, version))
     f.write(c)
 
 release_version_string = rewrite_wscript(release_version)
@@ -67,8 +67,10 @@ command("./waf clean")
 command("./waf")
 command("./waf configure")
 command("./waf dist")
-command("./rebuild-windows")
-shutil.copy(os.path.join('build', 'windows', 'DVD-o-matic %s Installer.exe' % release_version_string), '.')
+command("./builds/windows-32")
+shutil.copy(os.path.join('build', 'windows', 'DVD-o-matic %s 32-bit Installer.exe' % release_version_string), '.')
+command("./builds/windows-64")
+shutil.copy(os.path.join('build', 'windows', 'DVD-o-matic %s 64-bit Installer.exe' % release_version_string), '.')
 
 rewrite_wscript(new_pre_version)
 
@@ -79,3 +81,4 @@ if (raw_input() != "y"):
     sys.exit(1)
 
 command("git commit -a -m \"Bump version\"")
+command("cp DVD-o-matic*.exe dvdomatic-*.tar.bz2 /home/carl/public_html/carlh.net/software/dvdomatic")