From d0c5287736071915b3cc266949693cae320c6732 Mon Sep 17 00:00:00 2001 From: Max Weiss Date: Thu, 29 Apr 2021 14:46:51 -0700 Subject: [PATCH] Add buildbot user info for tag step --- buildbot/buildbot_steps.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/buildbot/buildbot_steps.sh b/buildbot/buildbot_steps.sh index a9deaed..3af5d28 100755 --- a/buildbot/buildbot_steps.sh +++ b/buildbot/buildbot_steps.sh @@ -165,12 +165,17 @@ function tag_head_and_push() { cd "$git_repo_dir" + git config user.name "BuildBot" + git config user.email "buildbot@bitmessage.io" + git tag -n | grep $(git rev-parse HEAD) if [ $? -eq 0 ]; then >&2 echo 'HEAD tag already exists, bailing out...' return 1 fi + + git tag -a "g_$(git rev-parse HEAD)" HEAD -m "BuildBot: tag commit for release $(git rev-parse HEAD)" || return 2 git push --tags "$remote" "$branch" if [ $? -ne 0 ]; then