Make macOS .dmg use correct build number
This commit is contained in:
parent
bbc4fedd20
commit
60c3ed3c54
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue