|
|
|
@ -80,10 +80,9 @@ jobs:
|
|
|
|
|
use_lxd: ${{ matrix.os == 'ubuntu-18.04' }}
|
|
|
|
|
- name: Promote Snap
|
|
|
|
|
env:
|
|
|
|
|
SNAPCRAFT_TOKEN: ${{ secrets.SNAPCRAFT_TOKEN }}
|
|
|
|
|
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
|
|
|
|
|
run: |
|
|
|
|
|
echo $SNAPCRAFT_TOKEN >> snapcrafttoken.txt
|
|
|
|
|
snapcraft login --with snapcrafttoken.txt
|
|
|
|
|
snapcraft login
|
|
|
|
|
RELEASE_TYPE=$(echo "${{ github.ref }}" | awk -F"/" '{print $3}')
|
|
|
|
|
if [ "$RELEASE_TYPE" = "rc" ]; then
|
|
|
|
|
snapcraft promote fluffychat --from-channel edge --to-channel candidate
|
|
|
|
@ -129,6 +128,7 @@ jobs:
|
|
|
|
|
cd android
|
|
|
|
|
bundle install
|
|
|
|
|
bundle update fastlane
|
|
|
|
|
bundle exec fastlane deploy_internal_test
|
|
|
|
|
RELEASE_TYPE=$(echo "${{ github.ref }}" | awk -F"/" '{print $3}')
|
|
|
|
|
if [ "$RELEASE_TYPE" = "rc" ]; then
|
|
|
|
|
bundle exec fastlane deploy_candidate
|
|
|
|
|