mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 01:39:18 +02:00
use download.delta.chat
also for beta versions
nightlies are uploaded there anyway, so, just everything can go there, leaving testrun.org for other purposes.
This commit is contained in:
parent
5ccff055b4
commit
2ac2e724a8
4 changed files with 41 additions and 38 deletions
34
scripts/upload-beta.sh
Executable file
34
scripts/upload-beta.sh
Executable file
|
@ -0,0 +1,34 @@
|
|||
|
||||
VERSION=$1
|
||||
|
||||
if [ -z "$VERSION" ]; then
|
||||
echo "this script uploads test apks to download.delta.chat/android/beta, both flavours:"
|
||||
echo "- 🍋 gplay (overwrites gplay installs)"
|
||||
echo "- 🍉 dev (can be installed beside gplay)"
|
||||
echo ""
|
||||
echo "usage: ./scripts/upload-beta.sh <VERSION>"
|
||||
exit
|
||||
fi
|
||||
if [[ ${VERSION:0:1} == "v" ]]; then
|
||||
echo "VERSION must not begin with 'v' here."
|
||||
exit
|
||||
fi
|
||||
|
||||
APKGPLAY="gplay/release/deltachat-gplay-release-$VERSION.apk"
|
||||
APKDEV="build/outputs/apk/fat/debug/deltachat-fat-debug-$VERSION.apk"
|
||||
ls -l $APKGPLAY
|
||||
ls -l $APKDEV
|
||||
read -p "upload these apks to download.delta.chat/android/beta? ENTER to continue, CTRL-C to abort."
|
||||
|
||||
# see docs/upload-release for some hints wrt keys
|
||||
rsync --progress $APKGPLAY jekyll@download.delta.chat:/var/www/html/download/android/beta/
|
||||
rsync --progress $APKDEV jekyll@download.delta.chat:/var/www/html/download/android/beta/
|
||||
|
||||
echo "upload done."
|
||||
echo ""
|
||||
echo "and now: here is Delta Chat $VERSION - choose your flavour and mind your backups:"
|
||||
echo "- 🍋 https://download.delta.chat/android/beta/deltachat-gplay-release-$VERSION.apk (android, overwrites existing gplay installs, should keep data)"
|
||||
echo "- 🍉 https://download.delta.chat/android/beta/deltachat-fat-debug-$VERSION.apk (android, can be installed beside gplay)"
|
||||
echo "- 🍏 https://testflight.apple.com/join/uEMc1NxS (ios, update to $VERSION may take a day or so)"
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue