mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(build): do not invoke version update on travis
Suggested by zetok due to travis not fetching all the commits.
This commit is contained in:
parent
919a94b978
commit
07639011da
|
@ -65,7 +65,7 @@
|
|||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>@SHORT_VERSION@</string>
|
||||
<string>1.7.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>toxq</string>
|
||||
<key>CFBundleURLTypes</key>
|
||||
|
@ -84,7 +84,7 @@
|
|||
</dict>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>@FULL_VERSION@</string>
|
||||
<string>1.7.0</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
<key>UTImportedTypeDeclarations</key>
|
||||
|
|
|
@ -216,11 +216,13 @@ update() {
|
|||
build() {
|
||||
fcho "------------------------------"
|
||||
fcho "Starting build process ..."
|
||||
# update version info
|
||||
cd $QTOX_DIR
|
||||
fcho "Now working in ${PWD}"
|
||||
fcho "Setting the version ..."
|
||||
./tools/update-versions.sh
|
||||
if [[ $TRAVIS != true ]]; then
|
||||
# update version info
|
||||
cd $QTOX_DIR
|
||||
fcho "Now working in ${PWD}"
|
||||
fcho "Setting the version ..."
|
||||
./tools/update-versions.sh
|
||||
fi
|
||||
|
||||
rm -rf $BUILD_DIR
|
||||
rm -rf $DEPLOY_DIR
|
||||
|
|
Loading…
Reference in New Issue
Block a user