diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9a89813483dfc5a0e76e71442b733eaa6817b7c0..a2e30ad00a9ba18cb99b183ad713d08ccd75c182 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/android/app/build.gradle b/android/app/build.gradle index d93414538b37db173b6881b672dff93f4ffcc16f..5449d7cac55c770e32e0c381c4bb562d46bfc3e3 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -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 { diff --git a/pubspec.yaml b/pubspec.yaml index e1a88c3c08c6cdb4209a9e447a349ffa216fdcae..4983a15ee17f6296afbc632aa264480832279871 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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"