Merge branch 'release' of https://github.com/appsmithorg/appsmith into release

This commit is contained in:
Automated Github Action 2020-09-09 07:06:35 +00:00
commit 13bda5d82f

View File

@ -303,12 +303,14 @@ echo_contact_support() {
} }
bye() { # Prints a friendly good bye message and exits the script. bye() { # Prints a friendly good bye message and exits the script.
echo "Please share your email to receive support with the installation"
read -rp 'Email: ' email
curl -s -O --location --request POST 'https://api.segment.io/v1/track' \ curl -s -O --location --request POST 'https://api.segment.io/v1/track' \
--header 'Authorization: Basic QjJaM3hXRThXdDRwYnZOWDRORnJPNWZ3VXdnYWtFbk06' \ --header 'Authorization: Basic QjJaM3hXRThXdDRwYnZOWDRORnJPNWZ3VXdnYWtFbk06' \
--header 'Content-Type: application/json' \ --header 'Content-Type: application/json' \
--data-raw '{ --data-raw '{
"anonymousId": "anonymousId", "userId": "'"$email"'",
"event": "Installation Exited", "event": "Installation Support",
"properties": { "properties": {
"osEnum": '$desired_os' "osEnum": '$desired_os'
} }
@ -554,7 +556,7 @@ if [[ $status_code -ne 401 ]]; then
--header 'Content-Type: application/json' \ --header 'Content-Type: application/json' \
--data-raw '{ --data-raw '{
"userId": "'"$email"'", "userId": "'"$email"'",
"event": "Installation Failed", "event": "Installation Support",
"properties": { "properties": {
"osEnum": '$desired_os' "osEnum": '$desired_os'
} }