mirror of
https://github.com/lukaszraczylo/semver-generator.git
synced 2026-06-29 03:12:42 +00:00
Add branch selection for remote repo
This commit is contained in:
@@ -18,6 +18,10 @@ if [[ ! -z "$INPUT_REPOSITORY_URL" ]]; then
|
||||
FLAGS="${FLAGS} -r $INPUT_REPOSITORY_URL"
|
||||
fi
|
||||
|
||||
if [[ ! -z "$INPUT_REPOSITORY_BRANCH" ]]; then
|
||||
FLAGS="${FLAGS} -b $INPUT_REPOSITORY_BRANCH"
|
||||
fi
|
||||
|
||||
if [[ ! -z "$INPUT_REPOSITORY_LOCAL" ]]; then
|
||||
FLAGS="${FLAGS} -l"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user