diff options
author | Paul Emm. Katsoulakis <34388743+paulkatsoulakis@users.noreply.github.com> | 2019-09-11 14:41:00 +0300 |
---|---|---|
committer | Chris Akritidis <43294513+cakrit@users.noreply.github.com> | 2019-09-11 13:41:00 +0200 |
commit | 9ce44c4bec37b721b839b5dc0aa024040bd456b1 (patch) | |
tree | 43ab71476543cebee033e632b21e213e0d1ac38f /.travis | |
parent | f0ea1c0b390a3b10a4ed5b143bf618b4e619b0fa (diff) |
netdata/ci: use the right packaging user for the commits to trigger packaging (#6813)
Diffstat (limited to '.travis')
-rwxr-xr-x | .travis/trigger_package_generation.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis/trigger_package_generation.sh b/.travis/trigger_package_generation.sh index ac1b54f8af..aee69be5f7 100755 --- a/.travis/trigger_package_generation.sh +++ b/.travis/trigger_package_generation.sh @@ -12,14 +12,14 @@ BUILD_NIGHTLY="$1" commit_change() { local ARCH="$1" local PKG="$2" + local GIT_MAIL="bot@netdata.cloud" + local GIT_USER="netdatabot" echo "---- Committing ${ARCH} .${PKG} package generation ----" - git commit --allow-empty -m "[Package ${ARCH} ${PKG}]${BUILD_NIGHTLY} Package build process trigger" + git commit --allow-empty --author "${GIT_USER} <${GIT_MAIL}>" -m "[Package ${ARCH} ${PKG}]${BUILD_NIGHTLY} Package build process trigger" } push_change() { - local GIT_MAIL="bot@netdata.cloud" - local GIT_USER="netdatabot" echo "---- Push changes to repository ----" git push "https://${GITHUB_TOKEN}:@$(git config --get remote.origin.url | sed -e 's/^https:\/\///')" |