Skip to content

Commit

Permalink
fdfdfdf
Browse files Browse the repository at this point in the history
  • Loading branch information
judemont committed Apr 8, 2024
1 parent 20990fe commit 401ca42
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/flutter-build-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:

# Build apk.
- name: build apk
run: flutter build apk
run: flutter build apk --release

- uses: ilharp/sign-android-release@v1
name: Sign app APK
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/flutter-build-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ jobs:
# - name: Run tests
# run: flutter test

- name: build apk
run: flutter build appbundle
- name: build bundle
run: flutter build appbundle --release

- uses: ilharp/sign-android-release@v1
name: Sign app Bundle
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,6 @@ app.*.map.json
# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release
/android/app/release

buildProd.gradle
13 changes: 3 additions & 10 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,11 @@ android {
versionName flutterVersionName
}

signingConfigs {
release {
storeFile file("/home/judemont/projects/flutter/reciper/reciper/release-key.jks")
storePassword "iu2t7LwN"
keyAlias "my-key"
keyPassword "iu2t7LwN"
}
}
buildTypes {
release {
signingConfig signingConfigs.release
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
}
}
}
Expand Down
Binary file removed release-key.jks
Binary file not shown.

0 comments on commit 401ca42

Please sign in to comment.