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>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>@SHORT_VERSION@</string>
|
<string>1.7.0</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>toxq</string>
|
<string>toxq</string>
|
||||||
<key>CFBundleURLTypes</key>
|
<key>CFBundleURLTypes</key>
|
||||||
|
@ -84,7 +84,7 @@
|
||||||
</dict>
|
</dict>
|
||||||
</array>
|
</array>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>@FULL_VERSION@</string>
|
<string>1.7.0</string>
|
||||||
<key>NSPrincipalClass</key>
|
<key>NSPrincipalClass</key>
|
||||||
<string>NSApplication</string>
|
<string>NSApplication</string>
|
||||||
<key>UTImportedTypeDeclarations</key>
|
<key>UTImportedTypeDeclarations</key>
|
||||||
|
|
|
@ -216,11 +216,13 @@ update() {
|
||||||
build() {
|
build() {
|
||||||
fcho "------------------------------"
|
fcho "------------------------------"
|
||||||
fcho "Starting build process ..."
|
fcho "Starting build process ..."
|
||||||
|
if [[ $TRAVIS != true ]]; then
|
||||||
# update version info
|
# update version info
|
||||||
cd $QTOX_DIR
|
cd $QTOX_DIR
|
||||||
fcho "Now working in ${PWD}"
|
fcho "Now working in ${PWD}"
|
||||||
fcho "Setting the version ..."
|
fcho "Setting the version ..."
|
||||||
./tools/update-versions.sh
|
./tools/update-versions.sh
|
||||||
|
fi
|
||||||
|
|
||||||
rm -rf $BUILD_DIR
|
rm -rf $BUILD_DIR
|
||||||
rm -rf $DEPLOY_DIR
|
rm -rf $DEPLOY_DIR
|
||||||
|
|
Loading…
Reference in New Issue
Block a user