mirror of
https://github.com/NiciDieNase/chaosflix
synced 2024-11-10 06:44:17 +00:00
fix swapped version-name and -code in appcenter-upload-script
This commit is contained in:
parent
755c647d32
commit
1f326ad995
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ echo ${response_json}
|
|||
if [ -n "$mapping_path" ]; then
|
||||
#step 1 get upload id and url
|
||||
request_url="https://api.appcenter.ms/v0.1/apps/${owner_name}/${app_name}/symbol_uploads"
|
||||
data="{\"symbol_type\": \"AndroidProguard\",\"file_name\": \"mapping.txt\",\"build\": \"$versionName\",\"version\": \"$versionCode\"}"
|
||||
data="{\"symbol_type\": \"AndroidProguard\",\"file_name\": \"mapping.txt\",\"build\": \"$versionCode\",\"version\": \"$versionName\"}"
|
||||
mapping_json=$(curl -X POST \
|
||||
-d "$data" \
|
||||
--header "Content-Type: application/json" \
|
||||
|
@ -89,4 +89,4 @@ if [ -n "$mapping_path" ]; then
|
|||
--header "X-API-Token: ${token}" \
|
||||
-d "${data}" \
|
||||
${confirm_url} 2> /dev/null)
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue