Romantic Project — Delete old AppCenter builds by command line easier

  • run the command “appcenter distribute releases delete” one by one
NAME="<your appcenter app name>"
FROM=$1
echo "FROM: ${FROM}"
TO=$2
echo "TO: ${TO}"
for (( i=$FROM+0; i<=$TO+0; i++ ))
do
yes | appcenter distribute releases delete -a $NAME -r $i
done
it’s the segment after apps
  • TO: integer, to release number you want to delete.
  • yes | : this command will bypass confirmation of each deleting jobs.
sh <script_file> <from release number> <to release number>

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Hưng Lương Đỗ Minh

Hưng Lương Đỗ Minh

A project from a romantic mobile developer. Isn’t it romantic?