Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
azure-build.yml 498 B
parameters:
  osName: 'linux'

steps:
- bash: |
    ./.ci/install.sh
    export PATH=/usr/local/bin:${PATH}
- bash: |
    export TRAVIS_OS_NAME=${{ osName }}
    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)}
- bash: |
    ./.ci/script.sh
    sed -i -e "s/VERSION_NAME_VALUE/${VERSION}/g" ./.ci/bintray-release.json || true
    cp ./.ci/bintray-release.json .