Expose local branch ref as an environment variable

This commit is contained in:
Florent Clarret 2021-06-19 18:09:32 +02:00
parent 8037b45cb1
commit 584fd585ec
5 changed files with 17 additions and 2 deletions

View file

@ -62,6 +62,7 @@ def run_opts(
verbose=False,
hook=None,
remote_branch='',
local_branch='',
from_ref='',
to_ref='',
remote_name='',
@ -81,6 +82,7 @@ def run_opts(
verbose=verbose,
hook=hook,
remote_branch=remote_branch,
local_branch=local_branch,
from_ref=from_ref,
to_ref=to_ref,
remote_name=remote_name,