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
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue