From c6d4117df408144df003167a911ff533db0b115b Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Sun, 31 Mar 2019 20:56:17 +0200 Subject: Update version string in ApplicationVersion property. Signed-off-by: Pavel Pisa --- prepare-release | 4 ++++ qtmips_gui/main.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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(); -- cgit v1.2.3