Skip to content

Commit

Permalink
1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mugiseyebrows committed Jan 26, 2019
1 parent d00f970 commit 83e1bd9
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 19 deletions.
45 changes: 28 additions & 17 deletions release.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,42 @@
import os

plugins = [p for p in [
'C:\\Qt5\\5.11.1\\mingw53_32\\plugins',
'D:\\qt\\Qt5.11.3\\5.11.3\\mingw53_32\\plugins'
'C:\\Qt5\\5.11.1\\mingw53_32\\plugins',
'D:\\qt\\Qt5.11.3\\5.11.3\\mingw53_32\\plugins'
] if os.path.exists(p)]

conf = {
'AppName' : 'mugi-grep',
'AppVersion' : '1.0.1',
'Binaries' : [{'Source': 'D:\\dev\\mugi-grep\\release\\mugi-grep.exe', 'Dest': ''}],

'BuildDir' : 'D:\\dev\\mugi-grep',
'AppName': 'mugi-grep',
'AppVersion': '1.1.0',
'Binaries': [{
'Source': 'D:\\dev\\mugi-grep\\release\\mugi-grep.exe',
'Dest': ''
}],
'Builder': 'QtBuilder',
'BuildActions': [{
'cmds': [
['qmake'],
['mingw32-make.exe', 'clean', '-j4'],
['mingw32-make.exe', 'release', '-j4']
],
'cwd': 'D:\\dev\\mugi-grep'
}],
'BuildDir': 'D:\\dev\\mugi-grep',
'Arch': 'win32',
'VersionUpdater': 'QtVersionUpdater',
'Packer': 'SimplePacker',
#'OutputDir': 'D:\\dev\\mugi-grep\\mugi-grep',
'Data': [{'Source':[
'D:\\dev\\mugi-grep\\settings.win32.json',
'D:\\dev\\mugi-grep\\settings.linux.json'
]}],

'QtPlugins': ['qwindows','qwindowsvistastyle'],
'Data': [{
'Source': [
'D:\\dev\\mugi-grep\\settings.win32.json',
'D:\\dev\\mugi-grep\\settings.linux.json'
]
}],
'QtPlugins': ['qwindows', 'qwindowsvistastyle'],
'QtPluginsSource': plugins[0]
}

m = Manager(conf)
#m.updateVersion()
#m.build()
m.updateVersion()
m.build()
m.pack()
#m.release()
m.release()
4 changes: 2 additions & 2 deletions version.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#define APP_NAME "mugi-grep"
#define APP_VERSION "1.0.1"
#define APP_VERSION_INT 1,0,1,0
#define APP_VERSION "1.1.0"
#define APP_VERSION_INT 1,1,0,0

0 comments on commit 83e1bd9

Please sign in to comment.