From e595e28c88a2517ef73cb92517ffdac2b08a853f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Beno=C3=AEt=20Harrault?= <benoit@harrault.fr>
Date: Mon, 15 Mar 2021 09:47:29 +0100
Subject: [PATCH] Rename apk file after build step

---
 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0df8920..9a89813 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -34,9 +34,10 @@ 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-release.apk
+    - build/app/outputs/apk/release/app-hangman-release.apk
     expire_in: 1 week
   interruptible: true
 
-- 
GitLab