Skip to content

Commit 88d3055

Browse files
authored
Merge pull request #6 from AddisMap/develop
Develop
2 parents 5658b59 + a64a462 commit 88d3055

File tree

5 files changed

+21
-7
lines changed

5 files changed

+21
-7
lines changed

DEVELOPMENT.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,24 @@ sudo apt install ruby ruby-dev
3232
sudo gem install fastlane
3333
```
3434

35-
### Uploading
35+
### Releasing / Uploading to Google Play
3636

37+
1. Bump version in pubspec.yaml
38+
2. Add changelog in `fastlane/metadata/android/en-US/changelogs`
39+
2. Push to GitHub, merge to master, make a new tag
40+
41+
#### GitHub Release
42+
3. `flutter build apk --analyze-size --target-platform android-arm`
43+
4. Upload apk to GitHub
44+
45+
### Playstore Release
46+
47+
5. Build an use fastlane supply
3748
```
38-
cd android && fastlane supply --track internal --version-code 2
49+
flutter build appbundle
50+
cd android && fastlane supply --track internal --aab ../build/app/outputs/bundle/release/app-release.aab --version-code x # replace by the version code from pubspec.yaml
3951
```
52+
6. Go to [playstore](https://play.google.com/console/u/0/developers/?pli=1), check everything and promote from the internal to the the public track
4053

4154
### Taking Screenshots
4255

android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ android {
5151
defaultConfig {
5252
applicationId "com.addismaptransit.app"
5353
minSdkVersion flutter.minSdkVersion
54-
targetSdkVersion flutter.targetSdkVersion
54+
targetSdkVersion 33
5555
versionCode flutterVersionCode.toInteger()
5656
versionName flutterVersionName
5757
}

android/fastlane/metadata/android/en-US/changelogs/6.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- Updated Search Data
2+
- Notification Function
3+
- More Amharic Translations
4+
- Target SDK: Android 13 (API-Level 33)

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
1515
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
1616
# Read more about iOS versioning at
1717
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
18-
version: 1.0.1+6
18+
version: 1.0.2+7
1919

2020
environment:
2121
sdk: ">=2.15.0 <3.0.0"

0 commit comments

Comments
 (0)