diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-03-31 20:56:17 +0200 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-03-31 20:56:17 +0200 |
commit | c6d4117df408144df003167a911ff533db0b115b (patch) | |
tree | 77b56cc82e3f8b247ce52eeef5eeb5012a70d34d /prepare-release | |
parent | d094efe4b10c22518226b99edce7a1f761934945 (diff) | |
download | qtmips-c6d4117df408144df003167a911ff533db0b115b.tar.gz qtmips-c6d4117df408144df003167a911ff533db0b115b.tar.bz2 qtmips-c6d4117df408144df003167a911ff533db0b115b.zip |
Update version string in ApplicationVersion property.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'prepare-release')
-rwxr-xr-x | prepare-release | 4 |
1 files changed, 4 insertions, 0 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/" \ |