Skip to content

Commit

Permalink
Merge pull request #143 from crowdin/fix_space_in_branch_name
Browse files Browse the repository at this point in the history
fix space in branch name when create or delete it
  • Loading branch information
VBeytok authored Oct 17, 2022
2 parents d985c2d + 74aaed8 commit 85c30ed
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 85c30ed

Please sign in to comment.