This project wraps the gerrit's api using a bash script.
Export the following environment variables
export GERRIT_USERNAME="johnedoe"
export GERRIT_HTTP_PASSWORD="password"
export GERRIT_SERVER_HOSTNAME="foo.org.com"
Import the methods
source ./script.sh
name: set_review_for_latest_revision
param: change_id
param: label
name: __get_revision_id
param: change_id
name: submit_change
param: change_id
set_review_for_latest_revision 590443 2
rev_id=$(__get_revision_id 590443)
submit_change 590443