Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Commit

Permalink
Fix semver inside release apk file name
Browse files Browse the repository at this point in the history
Signed-off-by: David Sn <[email protected]>
  • Loading branch information
divadsn committed Oct 15, 2020
1 parent b5b170b commit effcf5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ fi

echo "Uploading build..."

cp app/build/outputs/apk/release/app-release.apk mobileKKM_${MAJOR_MINOR}.${1}.apk
cp app/build/outputs/apk/release/app-release.apk mobileKKM_${MAJOR_MINOR}+${1}.apk
cp app/build/outputs/mapping/release/mapping.txt proguard.txt

curl -F chat_id="101110325" -F disable_notification="false" -F document=@"mobileKKM_${MAJOR_MINOR}.${1}.apk" -F caption="Building app with versionCode ${1}" https://api.telegram.org/bot$BOT_TOKEN/sendDocument
curl -F chat_id="101110325" -F disable_notification="false" -F document=@"mobileKKM_${MAJOR_MINOR}+${1}.apk" -F caption="Building app with versionCode ${1}" https://api.telegram.org/bot$BOT_TOKEN/sendDocument
curl -F chat_id="101110325" -F disable_notification="false" -F document=@"proguard.txt" https://api.telegram.org/bot$BOT_TOKEN/sendDocument

echo "Done! Build successfully uploaded via Telegram."

0 comments on commit effcf5b

Please sign in to comment.