Merge branch 'macos-build-number-take-2' into 'master'
Make macOS .dmg use correct build number, take 2 See merge request b0/spectral!37
This commit is contained in:
commit
09f69ea5fa
|
@ -1,5 +1,8 @@
|
||||||
language: cpp
|
language: cpp
|
||||||
|
|
||||||
|
git:
|
||||||
|
depth: false
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: osx
|
- os: osx
|
||||||
|
@ -17,7 +20,7 @@ script:
|
||||||
|
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- mv ${DEPLOY_DIR}/bin/spectral.dmg ./
|
- 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:
|
deploy:
|
||||||
- provider: bintray
|
- provider: bintray
|
||||||
|
|
5
BUILD.md
5
BUILD.md
|
@ -3,6 +3,7 @@
|
||||||
1. Update Qt to v5.10+
|
1. Update Qt to v5.10+
|
||||||
|
|
||||||
brew install qt5
|
brew install qt5
|
||||||
|
brew link qt5 --force
|
||||||
|
|
||||||
2. Download Spectral source
|
2. Download Spectral source
|
||||||
|
|
||||||
|
@ -16,8 +17,8 @@
|
||||||
|
|
||||||
4. Build Spectral
|
4. Build Spectral
|
||||||
|
|
||||||
/usr/local/Cellar/qt5/5.10.1/bin/qmake
|
qmake ../spectral.pro
|
||||||
make
|
make -j4
|
||||||
|
|
||||||
5. Open Spectral
|
5. Open Spectral
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue