diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2022-01-24 12:24:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-24 12:24:58 -0500 |
commit | 2b313d1ff2515782827965545fef716be5c49bc6 (patch) | |
tree | 5aff47ba1bd3b9621cb4be948faadb3a9ac1d45f /.travis.yml | |
parent | d7c3a23a2be29f629d61d1431e79e54755914a54 (diff) |
Fix passing of version to GHA release workflow. (#11909)
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 00872cffdf..32ee455e5b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -106,7 +106,7 @@ jobs: - stage: Publish for release name: Trigger release build and draft release creation script: - - git checkout "${TRAVIS_BRANCH}" && export BUILD_VERSION="$(cat packaging/version | sed 's/^v//')" + - git checkout "${TRAVIS_BRANCH}" && export BUILD_VERSION="$(cat packaging/version)" - .travis/trigger_artifact_build.sh "${GITHUB_TOKEN}" "${BUILD_VERSION}" "release" after_failure: post_message "TRAVIS_MESSAGE" "<!here> Failed to trigger release artifact build during nightly release" "${NOTIF_CHANNEL}" @@ -142,7 +142,7 @@ jobs: - stage: Nightly release name: Trigger nightly artifact build and upload script: - - git checkout "${TRAVIS_BRANCH}" && export BUILD_VERSION="$(cat packaging/version | sed 's/^v//')" + - git checkout "${TRAVIS_BRANCH}" && export BUILD_VERSION="$(cat packaging/version)" - .travis/trigger_artifact_build.sh "${GITHUB_TOKEN}" "${BUILD_VERSION}" "nightly" after_failure: post_message "TRAVIS_MESSAGE" "<!here> Failed to trigger release artifact build during nightly release" "${NOTIF_CHANNEL}" |