jenkins-bot has submitted this change and it was merged.
Change subject: Add alpha build variant to prepare-release
......................................................................
Add alpha build variant to prepare-release
For use by the automated build script
Change-Id: Ifa26da7a4f7ca13be78f6d534a816acbbced7442
---
M scripts/prepare-release.py
M wikipedia/res/values-qq/strings.xml
M wikipedia/res/values/strings.xml
3 files changed, 11 insertions(+), 0 deletions(-)
Approvals:
BearND: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/prepare-release.py b/scripts/prepare-release.py
index f73b30c..b77e3dd 100755
--- a/scripts/prepare-release.py
+++ b/scripts/prepare-release.py
@@ -191,6 +191,8 @@
"""
if package == 'beta':
return data.replace("launcher", "launcher_beta")
+ elif package == 'alpha':
+ return data.replace("launcher", "launcher_alpha")
else:
return data
@@ -201,6 +203,8 @@
"""
if package == 'beta':
return data.replace('@string/app_name', '@string/app_name_beta')
+ elif package == 'alpha':
+ return data.replace('@string/app_name', '@string/app_name_alpha')
else:
return data
@@ -307,6 +311,9 @@
group.add_argument('--beta',
help='Step 1: Google Play Beta. git checkout BUMPTAG
first! Does not revs versionCode.',
action='store_true')
+ group.add_argument('--alpha',
+ help='Do not use manually, only for the automated build
script',
+ action='store_true')
group.add_argument('--prod',
help='Step 1: Google Play stable. git checkout BUMPTAG
first! Does not rev versionCode.',
action='store_true')
@@ -327,6 +334,8 @@
(target, channel, package, uprev) = ('master', 'master', '', True)
elif args.beta:
(target, channel, package, uprev) = ('beta', 'Google Play Beta
Channel', 'beta', False)
+ elif args.alpha:
+ (target, channel, package, uprev) = ('alpha', 'alpha', 'alpha', False)
elif args.prod:
(target, channel, package, uprev) = ('r', 'Google Play', '', False)
elif args.releasesprod:
diff --git a/wikipedia/res/values-qq/strings.xml
b/wikipedia/res/values-qq/strings.xml
index 5b7087e..c6e78e9 100644
--- a/wikipedia/res/values-qq/strings.xml
+++ b/wikipedia/res/values-qq/strings.xml
@@ -4,6 +4,7 @@
{{Identical|Wikipedia}}</string>
<string name="app_name_beta">Name of the beta version of the application.
{{Identical|Wikipedia Beta}}</string>
+ <string name="app_name_alpha">Name of the alpha version of the
application.</string>
<string name="yes">Affirmative answer to a dialog box.
{{Identical|Yes}}</string>
<string name="no">Negative answer to a dialog box.
diff --git a/wikipedia/res/values/strings.xml b/wikipedia/res/values/strings.xml
index b3590ad..35c0c98 100644
--- a/wikipedia/res/values/strings.xml
+++ b/wikipedia/res/values/strings.xml
@@ -2,6 +2,7 @@
<resources>
<string name="app_name">Wikipedia</string>
<string name="app_name_beta">Wikipedia Beta</string>
+ <string name="app_name_alpha">Wikipedia Alpha</string>
<string name="yes">Yes</string>
<string name="no">No</string>
--
To view, visit https://gerrit.wikimedia.org/r/155795
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ifa26da7a4f7ca13be78f6d534a816acbbced7442
Gerrit-PatchSet: 4
Gerrit-Project: apps/android/wikipedia
Gerrit-Branch: master
Gerrit-Owner: Yuvipanda <[email protected]>
Gerrit-Reviewer: BearND <[email protected]>
Gerrit-Reviewer: Brion VIBBER <[email protected]>
Gerrit-Reviewer: Dbrant <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits