Make macOS .dmg use correct build number

This commit is contained in:
Aaron Raimist 2019-01-02 18:34:58 -06:00
parent bbc4fedd20
commit 60c3ed3c54
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