Make macOS .dmg use correct build number, take 2

This commit is contained in:
Aaron Raimist 2019-01-05 17:06:09 -06:00
parent d3d0128a97
commit e7adc0098f
No known key found for this signature in database
GPG Key ID: 37419210002890EF
2 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,8 @@
language: cpp
git:
depth: false
matrix:
include:
- os: osx
@ -17,7 +20,7 @@ script:
before_deploy:
- mv ${DEPLOY_DIR}/bin/spectral.dmg ./
- sed -i -e "s/TRAVIS_BUILD_NUMBER/${TRAVIS_BUILD_NUMBER}/g" .ci/bintray-release.json
- sed -i -e "s/TRAVIS_BUILD_NUMBER/$(git rev-list --count HEAD)/g" .ci/bintray-release.json
deploy:
- provider: bintray

View File

@ -3,6 +3,7 @@
1. Update Qt to v5.10+
brew install qt5
brew link qt5 --force
2. Download Spectral source
@ -16,8 +17,8 @@
4. Build Spectral
/usr/local/Cellar/qt5/5.10.1/bin/qmake
make
qmake ../spectral.pro
make -j4
5. Open Spectral