1
0
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:
vit9696 2017-01-29 23:29:34 -08:00
parent 919a94b978
commit 07639011da
2 changed files with 9 additions and 7 deletions

View File

@ -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>

View File

@ -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