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: ...@@ -34,10 +34,9 @@ android:build:
- echo keyPassword=$ANDROID_KEY_PASSWORD >> android/key.properties - echo keyPassword=$ANDROID_KEY_PASSWORD >> android/key.properties
# build flutter app # build flutter app
- flutter build apk - flutter build apk
- mv build/app/outputs/apk/release/app-release.apk build/app/outputs/apk/release/app-hangman-release.apk
artifacts: artifacts:
paths: paths:
- build/app/outputs/apk/release/app-hangman-release.apk - build/app/outputs/apk/release
expire_in: 1 week expire_in: 1 week
interruptible: true interruptible: true
......
...@@ -13,12 +13,12 @@ if (flutterRoot == null) { ...@@ -13,12 +13,12 @@ if (flutterRoot == null) {
def flutterVersionCode = localProperties.getProperty('flutter.versionCode') def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) { if (flutterVersionCode == null) {
flutterVersionCode = '6' flutterVersionCode = '1'
} }
def flutterVersionName = localProperties.getProperty('flutter.versionName') def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) { if (flutterVersionName == null) {
flutterVersionName = '1.5' flutterVersionName = '1.0'
} }
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
...@@ -38,12 +38,12 @@ android { ...@@ -38,12 +38,12 @@ android {
} }
defaultConfig { defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "org.benoitharrault.hangman" applicationId "org.benoitharrault.hangman"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 29 targetSdkVersion 29
versionCode flutterVersionCode.toInteger() versionCode flutterVersionCode.toInteger()
versionName flutterVersionName versionName flutterVersionName
archivesBaseName = "$applicationId-v$versionName+$versionCode"
} }
signingConfigs { signingConfigs {
......
...@@ -3,7 +3,7 @@ description: Hangman game, have fun with words and letters! ...@@ -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 publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.1.2 version: 1.1.3+1
environment: environment:
sdk: ">=2.7.0 <3.0.0" 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