- the --reviewers option is not there in the current version of
git-review (1.24) but is there with v1.25 which will be
installed with the pip install command in this patch
- this would add me (jluhrsen@redhat.com) to all auto-gen
gerrit patches, and I don't mind, but I need to get these
reminders for the csit auto-gen gerrits at the least. Maybe
there is a better way to do this?
Change-Id: I3bb9caa0ce4e7dcd045010dbb344cc696da77d1e
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
# Don't fail the build if this command fails because it's possible that there
# is no changes since last update.
# shellcheck disable=SC1083
-git review --yes -t {gerrit-topic} || true
+git review --yes -t {gerrit-topic} --reviewers jluhrsen@redhat.com || true
# Install python dependencies, useful generally
yum install -y python-{devel,virtualenv,setuptools,pip}
+# Use pip to install newer version of git-review
+pip install git-review --upgrade
+
# Needed by autorelease scripts
yum install -y xmlstarlet