diff options
-rwxr-xr-x | prepare-release | 4 | ||||
-rw-r--r-- | qtmips_gui/main.cpp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/prepare-release b/prepare-release index a937523..b9b7eff 100755 --- a/prepare-release +++ b/prepare-release @@ -20,6 +20,10 @@ sed --in-place \ -e 's#^\([\t ]*\)versionText = "Version [^"]*\\n";.*$#\1versionText = "Version '"$V_TXT"'\\n";#' \ qtmips_gui/aboutdialog.cpp +sed --in-place \ + -e 's#^\([\t ]*\)app.setApplicationVersion("[^"]*");.*$#\1app.setApplicationVersion("'"$V_TXT"'");#' \ + qtmips_gui/main.cpp + if grep -q "qtmips ($V_TXT)" debian/changelog ; then sed --in-place \ -e '1,/^ -- .*$/s/^ -- .*$/'" -- $V_USER_NAME <$V_USER_EMAIL> $V_DATE_RFC/" \ diff --git a/qtmips_gui/main.cpp b/qtmips_gui/main.cpp index 5e1fc45..229d537 100644 --- a/qtmips_gui/main.cpp +++ b/qtmips_gui/main.cpp @@ -40,7 +40,7 @@ int main(int argc, char *argv[]) { QApplication app(argc, argv); app.setApplicationName("qtmips_gui"); - app.setApplicationVersion("0.1"); + app.setApplicationVersion("0.6.7"); MainWindow w; w.start(); |