diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2021-03-17 13:36:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-17 13:36:34 -0400 |
commit | e66b02ff6a936454acd63788c7b0e7953f0c1480 (patch) | |
tree | 23f8723c1a6b8639050d9532734044613873101b /.travis.yml | |
parent | 3d67dc39b9e709b98c9324450a3f0b2e8fa8f605 (diff) |
Properly prepare version for binary package builds. (#10790)
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 099972722e..cea86207e6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -134,7 +134,7 @@ jobs: - name: Trigger DEB and RPM package build script: - - git checkout "${TRAVIS_BRANCH}" && export BUILD_VERSION="$(cat packaging/version | cut -d'-' -f1)" + - git checkout "${TRAVIS_BRANCH}" && export BUILD_VERSION="$(cat packaging/version | sed 's/^v//' | cut -d'-' -f1)" - .travis/trigger_package_build.sh "${GITHUB_TOKEN}" "${BUILD_VERSION}" "release" after_failure: post_message "TRAVIS_MESSAGE" "<!here> Failed to trigger deb and rpm package build during release" "${NOTIF_CHANNEL}" @@ -226,6 +226,6 @@ jobs: - name: Trigger DEB and RPM package build script: - - git checkout "${TRAVIS_BRANCH}" && export BUILD_VERSION="$(cat packaging/version)" + - git checkout "${TRAVIS_BRANCH}" && export BUILD_VERSION="$(cat packaging/version | sed 's/^v//')" - .travis/trigger_package_build.sh "${GITHUB_TOKEN}" "${BUILD_VERSION}" "nightly" after_failure: post_message "TRAVIS_MESSAGE" "<!here> Failed to trigger deb and rpm package build during nightly release" "${NOTIF_CHANNEL}" |