Skip to content
Snippets Groups Projects
Commit ab9ac18f authored by Benoît Harrault's avatar Benoît Harrault
Browse files

Fix apk output filename

parent a936943c
No related branches found
No related tags found
1 merge request!9Resolve "Fix apk output filename"
Pipeline #694 passed
......@@ -34,10 +34,9 @@ android:build:
- echo keyPassword=$ANDROID_KEY_PASSWORD >> android/key.properties
# build flutter app
- flutter build apk
- mv build/app/outputs/apk/release/app-release.apk build/app/outputs/apk/release/app-hangman-release.apk
artifacts:
paths:
- build/app/outputs/apk/release/app-hangman-release.apk
- build/app/outputs/apk/release
expire_in: 1 week
interruptible: true
......
......@@ -13,12 +13,12 @@ if (flutterRoot == null) {
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '6'
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.5'
flutterVersionName = '1.0'
}
apply plugin: 'com.android.application'
......@@ -38,12 +38,12 @@ android {
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "org.benoitharrault.hangman"
minSdkVersion 21
targetSdkVersion 29
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
archivesBaseName = "$applicationId-v$versionName+$versionCode"
}
signingConfigs {
......
......@@ -3,7 +3,7 @@ description: Hangman game, have fun with words and letters!
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.1.2
version: 1.1.3+1
environment:
sdk: ">=2.7.0 <3.0.0"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment