Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /netdata/.travis/ drwxr-xr-x | |
| Viewing file: Select action/file-type: #!/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
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0065 ]-- |