CI: Add candidate release pipeline

This commit is contained in:
Krille Fear 2021-12-05 09:13:23 +01:00
commit 148c4aa1dd
5 changed files with 18 additions and 4 deletions

View file

@ -1,5 +1,9 @@
#!/bin/sh -ve
echo $SNAPCRAFT_LOGIN_FILE | snapcraft login --with -
snapcraft
snapcraft upload --release=stable *.snap
if [RELEASE_TYPE = "rc"]; then
snapcraft upload --release=candidate *.snap
else
snapcraft upload --release=stable *.snap
fi
snapcraft logout

View file

@ -1,4 +1,8 @@
#!/bin/sh -ve
cd android
bundle exec fastlane deploy_release
if [RELEASE_TYPE = "rc"]; then
bundle exec fastlane deploy_candidate
else
bundle exec fastlane deploy_release
fi
cd ..