From 121bccf208cfdd4496ad9a869eeb8f804c8a2a80 Mon Sep 17 00:00:00 2001
From: Janne Koschinski <janne@kuschku.de>
Date: Tue, 17 Apr 2018 18:06:13 +0200
Subject: [PATCH] Add signing code

---
 .gitlab-ci.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cb6b75e50..34275ba2b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,7 +13,7 @@ variables:
 before_script:
   - apt-get --quiet update --yes
   - apt-get --quiet install --yes wget tar unzip lib32stdc++6 lib32z1
-  
+
   - wget --quiet --output-document=android-sdk.zip https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip
   - unzip -q android-sdk.zip -d android-sdk-linux
 
@@ -27,6 +27,8 @@ before_script:
   - export PATH=$PATH:$PWD/android-sdk-linux/platform-tools/
   - chmod +x ./gradlew
 
+  - echo $SIGNING_KEYSTORE | base64 -d > /root/signing.keystore
+
 stages:
   - build
   - test
@@ -34,6 +36,7 @@ stages:
 build:
   stage: build
   script:
+    - echo $SIGNING_PROPERTIES > signing.properties
     - ./gradlew assembleRelease
   artifacts:
     paths:
-- 
GitLab