Merge branch 'macos-build-number' into 'master'

Make macOS .dmg use correct build number

See merge request b0/spectral!34
square-messages
Black Hat 2019-01-03 23:53:38 +00:00
commit e9fe310d04
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,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