Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed authentication to use /api/authenticatev3.php #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion upload-archive-cl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ echo "Signing into bugsplat and storing session cookie for use in upload" >> $LO

COOKIEPATH="/tmp/bugsplat-cookie.txt"
rm "${COOKIEPATH}"
curl -b "${COOKIEPATH}" -c "${COOKIEPATH}" --data-urlencode "currusername=${BUGSPLAT_USER}" --data-urlencode "currpasswd=${BUGSPLAT_PASS}" "${BUGSPLAT_SERVER_URL}/browse/login.php"
curl -b "${COOKIEPATH}" -c "${COOKIEPATH}" --data-urlencode "email=${BUGSPLAT_USER}" --data-urlencode "password=${BUGSPLAT_PASS}" "${BUGSPLAT_SERVER_URL}/api/authenticatev3.php"

echo "Uploading /tmp/${PRODUCT_NAME}.xcarchive.zip to ${UPLOAD_URL}" >> $LOG 2>&1

Expand Down
4 changes: 2 additions & 2 deletions upload-archive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ echo "UUID found: ${UUID_CMD_OUT}" > $LOG 2>&1
echo "Signing into bugsplat and storing session cookie for use in upload" >> $LOG 2>&1

COOKIEPATH="/tmp/bugsplat-cookie.txt"
LOGIN_URL="${BUGSPLAT_SERVER_URL}/browse/login.php"
LOGIN_URL="${BUGSPLAT_SERVER_URL}/api/authenticatev3.php"
echo "Login URL: ${LOGIN_URL}"
rm "${COOKIEPATH}"
curl -b "${COOKIEPATH}" -c "${COOKIEPATH}" --data-urlencode "currusername=${BUGSPLAT_USER}" --data-urlencode "currpasswd=${BUGSPLAT_PASS}" "${LOGIN_URL}"
curl -b "${COOKIEPATH}" -c "${COOKIEPATH}" --data-urlencode "email=${BUGSPLAT_USER}" --data-urlencode "password=${BUGSPLAT_PASS}" "${LOGIN_URL}"

echo "Uploading /tmp/${PRODUCT_NAME}.xcarchive.zip to ${UPLOAD_URL}" >> $LOG 2>&1

Expand Down
4 changes: 2 additions & 2 deletions upload-symbols.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ echo "UUID found: ${UUID_CMD_OUT}"
echo "Signing into bugsplat and storing session cookie for use in upload"

COOKIEPATH="/tmp/bugsplat-cookie.txt"
LOGIN_URL="${BUGSPLAT_SERVER_URL}/browse/login.php"
LOGIN_URL="${BUGSPLAT_SERVER_URL}/api/authenticatev3.php"
echo "Login URL: ${LOGIN_URL}"
rm "${COOKIEPATH}"
curl -b "${COOKIEPATH}" -c "${COOKIEPATH}" --data-urlencode "currusername=${BUGSPLAT_USER}" --data-urlencode "currpasswd=${BUGSPLAT_PASS}" "${LOGIN_URL}"
curl -b "${COOKIEPATH}" -c "${COOKIEPATH}" --data-urlencode "email=${BUGSPLAT_USER}" --data-urlencode "password=${BUGSPLAT_PASS}" "${LOGIN_URL}"

echo "Uploading ${FILE} to ${UPLOAD_URL}"

Expand Down