Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
debojyoti452 committed Feb 18, 2023
2 parents 67c2a73 + 2d5863f commit 36e7afa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release_deploy_play_store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,18 @@ jobs:

- name: Configure Keystore
run: |
echo "$PLAY_STORE_UPLOAD_KEY" | base64 --decode > app/key.jks
echo "storeFile=key.jks" >> key.properties
echo "keyAlias=$KEYSTORE_KEY_ALIAS" >> key.properties
echo "storePassword=$KEYSTORE_STORE_PASSWORD" >> key.properties
echo "keyPassword=$KEYSTORE_KEY_PASSWORD" >> key.properties
echo "$PLAY_STORE_UPLOAD_KEY" | base64 --decode > app/"$KEYSTORE_FILE_NAME"
echo "storeFile=$KEYSTORE_FILE_NAME" >> "$KEYSTORE_PROP_NAME"
echo "keyAlias=$KEYSTORE_KEY_ALIAS" >> "$KEYSTORE_PROP_NAME"
echo "storePassword=$KEYSTORE_STORE_PASSWORD" >> "$KEYSTORE_PROP_NAME"
echo "keyPassword=$KEYSTORE_KEY_PASSWORD" >> "$KEYSTORE_PROP_NAME"
env:
PLAY_STORE_UPLOAD_KEY: ${{ secrets.KEYSTORE_FILE }}
KEYSTORE_KEY_ALIAS: ${{ secrets.KEYSTORE_ALIAS }}
KEYSTORE_KEY_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
KEYSTORE_STORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
KEYSTORE_FILE_NAME: ${{ secrets.KEYSTORE_FILE_NAME }}
KEYSTORE_PROP_NAME: ${{ secrets.KEYSTORE_PROP_NAME }}
working-directory: android

# Build and deploy with Fastlane (by default, to beta track) 🚀.
Expand Down
2 changes: 1 addition & 1 deletion android/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ platform :android do
sh "flutter clean && flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs && flutter build appbundle -t lib/flavors/env/prod.dart --flavor=prod"
upload_to_play_store(
track: 'production',
aab: '../build/app/outputs/bundle/release/app-release.aab',
aab: '../build/app/outputs/bundle/prodRelease/app-prod-release.aab',
json_key_data: ENV['PLAY_STORE_CONFIG_JSON'],
)
end
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ issue_tracker: https://github.com/debojyoti452/move_app/issues
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

version: 1.1.0+3
version: 1.2.0+4

environment:
sdk: '>=2.18.6 <3.0.0'
Expand Down

0 comments on commit 36e7afa

Please sign in to comment.