Add alpha flavour and different strings so testers can differentiate builds

This commit is contained in:
Zorica Stojchevska 2021-05-17 19:11:36 +02:00
parent 9ab22c6dcf
commit e5f2a2ed7f
3 changed files with 32 additions and 1 deletions

View File

@ -119,7 +119,7 @@ build alpha:
- large
script:
- ./gradlew clean
- ./gradlew assembleProductionRelease
- ./gradlew assembleAlphaRelease
artifacts:
expire_in: 3 week
paths:

View File

@ -142,6 +142,9 @@ android(
register("beta") {
applicationId = "ch.protonmail.android.beta"
}
register("alpha") {
applicationId = "ch.protonmail.android.alpha"
}
}
buildTypes {

View File

@ -0,0 +1,28 @@
<!--
~ Copyright (c) 2020 Proton Technologies AG
~
~ This file is part of ProtonMail.
~
~ ProtonMail is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ ProtonMail is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with ProtonMail. If not, see https://www.gnu.org/licenses/.
-->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation">
<!-- region All -->
<string name="x_app_version_name_code">ProtonMail %s (%d) Alpha</string>
<!-- endregion -->
<string name="app_version_code" translatable="false">%1$s (%2$d) Alpha</string>
</resources>