CI: Add candidate release pipeline
This commit is contained in:
parent
ec271379bd
commit
148c4aa1dd
5 changed files with 18 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 ..
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue