diff --git a/tools/bulk_review.sh b/tools/bulk_review.sh index 33633c3bee..ceff75e131 100755 --- a/tools/bulk_review.sh +++ b/tools/bulk_review.sh @@ -101,7 +101,8 @@ for team in "${!files_by_team_release[@]}" ; do git add ${files_by_team_release[$team]} git commit -s\ -m "[$team] $subject" \ - -m "$body" + -m "$body" \ + --trailer="Generated-By:openstack/releases:tools/bulk_review.sh" git stash git checkout master diff --git a/tools/functions b/tools/functions index cef46ff307..4d2dfd1321 100644 --- a/tools/functions +++ b/tools/functions @@ -75,7 +75,8 @@ function update_gitreview { defaultbranch=$branch" echo "$grcontents" > .gitreview git add .gitreview - git commit -s -m "Update .gitreview for $branch" + git commit -s -m "Update .gitreview for $branch" \ + --trailer="Generated-By:openstack/releases:tools/functions" git show local shortbranch=$(basename $branch) git review -t "create-${shortbranch}" @@ -93,7 +94,8 @@ function update_upper_constraints { sed -i~ -e "s,-c.*{\(env:UPPER_CONSTRAINTS_FILE\)[^ ]*},-c{\1:$uc_url}," tox.ini if ! git diff --exit-code >/dev/null 2>&1 ; then git add tox.ini - git commit -s -m "Update UPPER_CONSTRAINTS_FILE for $branch" + git commit -s -m "Update UPPER_CONSTRAINTS_FILE for $branch" \ + --trailer="Generated-By:openstack/releases:tools/functions" git show local shortbranch=$(basename $branch) git review -t "create-${shortbranch}" diff --git a/tools/process_auto_releases.sh b/tools/process_auto_releases.sh index 7a93efc287..f040a6deef 100755 --- a/tools/process_auto_releases.sh +++ b/tools/process_auto_releases.sh @@ -154,7 +154,8 @@ $(git log --oneline --no-merges ${prev_tag}..${end_sha}) done git add . message="${commit//PROJECT/$repo}${change_list}" - git commit -s -m "$message" + git commit -s -m "$message" \ + --trailer="Generated-By:openstack/releases:tools/process_auto_releases.sh" git log -1 git review -t $topic git reset --hard HEAD~1 > /dev/null