Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
1dfad46f
Commit
1dfad46f
authored
Mar 06, 2016
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct version info for all OSX/iOS builds
parent
942d404a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
15 deletions
+29
-15
Custom-Info.plist
Custom-Info.plist
+2
-2
QGCCommon.pri
QGCCommon.pri
+17
-9
QGCSetup.pri
QGCSetup.pri
+6
-0
iOS-Info.plist
ios/iOS-Info.plist
+2
-2
iOSForAppStore-Info.plist
ios/iOSForAppStore-Info.plist
+2
-2
No files found.
Custom-Info.plist
View file @
1dfad46f
...
...
@@ -9,9 +9,9 @@
<key>
CFBundlePackageType
</key>
<string>
APPL
</string>
<key>
CFBundleVersion
</key>
<string>
227
</string>
<string>
###
</string>
<key>
CFBundleShortVersionString
</key>
<string>
2.0.0
</string>
<string>
#.#.#
</string>
<key>
CFBundleSignature
</key>
<string>
????
</string>
<key>
CFBundleExecutable
</key>
...
...
QGCCommon.pri
View file @
1dfad46f
...
...
@@ -88,16 +88,24 @@ MobileBuild {
# set the QGC version from git
exists ($$PWD/.git) {
GIT_DESCRIBE = $$system(git --git-dir $$PWD/.git --work-tree $$PWD describe --always --tags)
GIT_HASH = $$system(git rev-parse HEAD)
VERSION = $$replace(GIT_DESCRIBE, "v", "")
VERSION = $$replace(VERSION, "-", ".")
VERSION = $$section(VERSION, ".", 0, 3)
message(QGroundControl version $${GIT_DESCRIBE} hash $${GIT_HASH})
GIT_DESCRIBE = $$system(git --git-dir $$PWD/.git --work-tree $$PWD describe --always --tags)
GIT_HASH = $$system(git rev-parse HEAD)
VERSION = $$replace(GIT_DESCRIBE, "v", "")
VERSION = $$replace(VERSION, "-", ".")
VERSION = $$section(VERSION, ".", 0, 3)
MacBuild {
MAC_VERSION = $$section(VERSION, ".", 0, 2)
MAC_BUILD = $$section(VERSION, ".", 3, 3)
message(QGroundControl version $${MAC_VERSION} build $${MAC_BUILD} describe $${GIT_DESCRIBE} hash $${GIT_HASH})
} else {
message(QGroundControl version $${VERSION} describe $${GIT_DESCRIBE} hash $${GIT_HASH})
}
} else {
GIT_DESCRIBE = None
GIT_HASH = None
VERSION = 0.0.0 # Marker to indicate out-of-tree build
GIT_DESCRIBE = None
GIT_HASH = None
VERSION = 0.0.0 # Marker to indicate out-of-tree build
MAC_VERSION = 0.0.0
MAC_BUILD = 0
}
DEFINES += GIT_TAG=\"\\\"$$GIT_DESCRIBE\\\"\"
...
...
QGCSetup.pri
View file @
1dfad46f
...
...
@@ -50,6 +50,12 @@ WindowsBuild {
# Perform platform specific setup
#
iOSBuild | MacBuild {
# Update version info in bundle
QMAKE_POST_LINK += && /usr/libexec/PlistBuddy -c \"Set :CFBundleShortVersionString $${MAC_VERSION}\" $$DESTDIR/$${TARGET}.app/Contents/Info.plist
QMAKE_POST_LINK += && /usr/libexec/PlistBuddy -c \"Set :CFBundleVersion $${MAC_BUILD}\" $$DESTDIR/$${TARGET}.app/Contents/Info.plist
}
MacBuild {
# Copy non-standard frameworks into app package
QMAKE_POST_LINK += && rsync -a --delete $$BASEDIR/libs/lib/Frameworks $$DESTDIR/$${TARGET}.app/Contents/
...
...
ios/iOS-Info.plist
View file @
1dfad46f
...
...
@@ -17,11 +17,11 @@
<key>
CFBundlePackageType
</key>
<string>
APPL
</string>
<key>
CFBundleShortVersionString
</key>
<string>
1.0
</string>
<string>
#.#.#
</string>
<key>
CFBundleSignature
</key>
<string>
????
</string>
<key>
CFBundleVersion
</key>
<string>
1.0
</string>
<string>
###
</string>
<key>
LSRequiresIPhoneOS
</key>
<true/>
<key>
NOTE
</key>
...
...
ios/iOSForAppStore-Info.plist
View file @
1dfad46f
...
...
@@ -17,11 +17,11 @@
<key>
CFBundlePackageType
</key>
<string>
APPL
</string>
<key>
CFBundleShortVersionString
</key>
<string>
1.0
</string>
<string>
#.#.#
</string>
<key>
CFBundleSignature
</key>
<string>
????
</string>
<key>
CFBundleVersion
</key>
<string>
1.0
</string>
<string>
###
</string>
<key>
LSRequiresIPhoneOS
</key>
<true/>
<key>
NOTE
</key>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment