2019-05-18 04:17:18 +03:00
|
|
|
|
2019-05-18 03:44:32 +03:00
|
|
|
steps:
|
2019-05-18 04:17:18 +03:00
|
|
|
- bash: |
|
|
|
|
./.ci/install.sh
|
|
|
|
export PATH=/usr/local/bin:${PATH}
|
|
|
|
- bash: |
|
2019-05-18 03:44:32 +03:00
|
|
|
export CXX=${CXX_COMPILER}
|
|
|
|
export CC=${C_COMPILER}
|
|
|
|
# Use TRAVIS_TAG if defined, or the short commit SHA otherwise
|
|
|
|
export VERSION=${TRAVIS_TAG:-$(git rev-parse --short HEAD)}
|
2019-05-18 04:17:18 +03:00
|
|
|
- bash: |
|
2019-05-18 03:44:32 +03:00
|
|
|
./.ci/script.sh
|
|
|
|
sed -i -e "s/VERSION_NAME_VALUE/${VERSION}/g" ./.ci/bintray-release.json || true
|
2019-05-18 04:17:18 +03:00
|
|
|
cp ./.ci/bintray-release.json .
|