update creating branch section
Signed-off-by: GuillaumeFalourd <guillaume.falourd@zup.com.br>
This commit is contained in:
parent
c80328cf27
commit
e4a8382a15
1 changed files with 3 additions and 1 deletions
|
@ -116,7 +116,9 @@ runs:
|
||||||
HOSTNAME=${BASH_REMATCH[3]}
|
HOSTNAME=${BASH_REMATCH[3]}
|
||||||
DESTINATION_OWNER=${BASH_REMATCH[4]}
|
DESTINATION_OWNER=${BASH_REMATCH[4]}
|
||||||
DESTINATION_REPOSITORY=${BASH_REMATCH[5]}
|
DESTINATION_REPOSITORY=${BASH_REMATCH[5]}
|
||||||
DESTINATION_REPOSITORY=${DESTINATION_REPOSITORY//.git/ }
|
if [[ $DESTINATION_REPOSITORY == *'.git'* ]] && [[ $DESTINATION_REPOSITORY != *'.github.io'* ]]; then
|
||||||
|
DESTINATION_REPOSITORY=${DESTINATION_REPOSITORY//.git/ }
|
||||||
|
fi
|
||||||
|
|
||||||
CLONE_DIRECTORY=$(mktemp -d)
|
CLONE_DIRECTORY=$(mktemp -d)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue