We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3549fa commit b44ec7fCopy full SHA for b44ec7f
cra-scripts/bito-cra.sh
@@ -727,6 +727,10 @@ if [ "$mode" == "server" ]; then
727
if [ -n "${props[$param_bito_access_key]}" ] && [ -n "${props[$param_git_access_token]}" ]; then
728
if [[ "${props[$param_git_provider]}" == "BITBUCKET" ]]; then
729
git_secret="${props[$param_git_access_token]}"
730
+ # Truncate only for Bitbucket if longer than 60 characters
731
+ if [ ${#git_secret} -gt 60 ]; then
732
+ git_secret="${git_secret:0:60}"
733
+ fi
734
else
735
git_secret="${props[$param_bito_access_key]}@#~^${props[$param_git_access_token]}"
736
fi
0 commit comments