Skip to content

Commit 96d01fa

Browse files
authored
Remove "2.7." version prefix. (#6154)
The "2.7." version prefix is almost totally meaningless, and at this point it's more confusing than it is useful.
1 parent d321cc7 commit 96d01fa

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ final Properties PROD_PROPS = loadProperties(PROD_PROPS_FILE)
1717
final Properties REPO_PROPS = loadProperties(REPO_PROPS_FILE)
1818

1919
static def computeVersionName(versionCode, label) {
20-
return "2.7.${versionCode}-${label}-${(new Date()).format('yyyy-MM-dd')}"
20+
return "${versionCode}-${label}-${(new Date()).format('yyyy-MM-dd')}"
2121
}
2222

2323
android {

scripts/make-release.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
import time
4242

4343
PATH_PREFIX = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
44-
VERSION_START = '2.7'
4544

4645
def git_tag_and_push(target, version_name, push=False):
4746
"""Creates an annotated git tag for this release and optionally pushes it"""
@@ -158,7 +157,7 @@ def copy_build_artifact(artifact_type, flavor, version_name, build_type='release
158157

159158
def find_output_apk_for(label, version_code):
160159
folder_path = 'releases'
161-
file_pattern = '%s/wikipedia-%s.%s-%s-*.apk' % (folder_path, VERSION_START, version_code, label)
160+
file_pattern = '%s/wikipedia-%s-%s-*.apk' % (folder_path, version_code, label)
162161
apk_files = glob.glob(file_pattern)
163162
if len(apk_files) == 1:
164163
return apk_files[0]

0 commit comments

Comments
 (0)