Expose remote branch ref as an environment variable

This commit is contained in:
surafelabebe 2020-12-21 15:16:11 -08:00 committed by Anthony Sottile
parent bb50e00447
commit cb5ed6276d
5 changed files with 14 additions and 2 deletions

View file

@ -61,6 +61,7 @@ def run_opts(
color=False,
verbose=False,
hook=None,
remote_branch='',
from_ref='',
to_ref='',
remote_name='',
@ -78,6 +79,7 @@ def run_opts(
color=color,
verbose=verbose,
hook=hook,
remote_branch=remote_branch,
from_ref=from_ref,
to_ref=to_ref,
remote_name=remote_name,