Skip to content

Commit

Permalink
fix space in branch name when create or delete it
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalii Smolinskyi committed Oct 17, 2022
1 parent d985c2d commit 74aaed8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ if [ -n "$INPUT_ADD_CROWDIN_BRANCH" ]; then

echo "CREATING BRANCH $INPUT_ADD_CROWDIN_BRANCH"

crowdin branch add $INPUT_ADD_CROWDIN_BRANCH $NEW_BRANCH_OPTIONS --title="${INPUT_NEW_BRANCH_TITLE}" --export-pattern="${INPUT_NEW_BRANCH_EXPORT_PATTERN}"
crowdin branch add "$INPUT_ADD_CROWDIN_BRANCH" $NEW_BRANCH_OPTIONS --title="${INPUT_NEW_BRANCH_TITLE}" --export-pattern="${INPUT_NEW_BRANCH_EXPORT_PATTERN}"
fi

if [ "$INPUT_UPLOAD_SOURCES" = true ]; then
Expand Down Expand Up @@ -326,5 +326,5 @@ fi
if [ -n "$INPUT_DELETE_CROWDIN_BRANCH" ]; then
echo "REMOVING BRANCH $INPUT_DELETE_CROWDIN_BRANCH"

crowdin branch delete $INPUT_DELETE_CROWDIN_BRANCH $( get_branch_available_options "$@" )
crowdin branch delete "$INPUT_DELETE_CROWDIN_BRANCH" $( get_branch_available_options "$@" )
fi

0 comments on commit 74aaed8

Please sign in to comment.