diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-02-06 16:11:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-02-06 16:11:30 +0000 |
commit | aa2fe8ccbfcb117efa207d10229eeeac5d0f97c7 (patch) | |
tree | 941cbdd387b41c1a81587c20a6df9f0e5e0ff7ab /.travis/trigger_package_build.sh | |
parent | Adding upstream version 1.37.1. (diff) | |
download | netdata-aa2fe8ccbfcb117efa207d10229eeeac5d0f97c7.tar.xz netdata-aa2fe8ccbfcb117efa207d10229eeeac5d0f97c7.zip |
Adding upstream version 1.38.0.upstream/1.38.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.travis/trigger_package_build.sh')
-rwxr-xr-x | .travis/trigger_package_build.sh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/.travis/trigger_package_build.sh b/.travis/trigger_package_build.sh deleted file mode 100755 index d1ecd48ca..000000000 --- a/.travis/trigger_package_build.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -token="${1}" -version="${2}" -pkgtype="${3}" - -resp="$(curl -X POST \ - -H 'Accept: application/vnd.github.v3+json' \ - -H "Authorization: Bearer ${token}" \ - "https://api.github.com/repos/netdata/netdata/actions/workflows/packaging.yml/dispatches" \ - -d "{\"ref\": \"master\", \"inputs\": {\"version\": \"${version}\", \"type\": \"${pkgtype}\"}}")" - -if [ -z "${resp}" ]; then - echo "Successfully triggered binary package builds." - exit 0 -else - echo "Failed to trigger binary package builds. Output:" - echo "${resp}" - exit 1 -fi |