Skip to content

Commit

Permalink
ci: Correctly upload to playstore
Browse files Browse the repository at this point in the history
  • Loading branch information
krille-chan committed Jul 25, 2023
1 parent 2f46181 commit 577864d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion android/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ platform :android do
end

lane :deploy_release do
upload_to_play_store(track: 'beta', track_promote_to: "production", deactivate_on_promote: false, skip_upload_changelogs: true)
upload_to_play_store(track: 'internal', track_promote_to: "production", deactivate_on_promote: false, skip_upload_changelogs: true)
end
end

0 comments on commit 577864d

Please sign in to comment.