Skip to content

Commit 0d811e7

Browse files
committed
minor build tweaks to be paranoid during a release build
bumped version to 0.42.0.0
1 parent fd2731d commit 0d811e7

7 files changed

+27
-14
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ test: unittest
22
./gradlew testUnittest --info
33

44
release_check:
5-
. ./release_check.sh
5+
./release_check.py
66

77
unittest:
88
./gradlew assembleUnittest

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.41.0.2
1+
0.42.0.0

android/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// each of the version numbers must be 0-99
22
def versionMajor = 0
3-
def versionMinor = 41
3+
def versionMinor = 42
44
def versionPatch = 0
5-
def versionBuild = 2 // this is non-zero for any dev build
5+
def versionBuild = 0 // this is non-zero for any dev build
66

77
buildscript {
88
repositories {

android/proguard.cfg

+8
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,11 @@
5252
}
5353

5454
-libraryjars <java.home>/lib/rt.jar(java/**,javax/**)
55+
56+
# osmdroid introduced these dumb warnings
57+
-dontwarn org.apache.**
58+
59+
# proguard has started to die on optimisation because of our merged osmdroid code
60+
-dontoptimize
61+
62+
-mergeinterfacesaggressively

android/src/main/AndroidManifest.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
package="org.mozilla.mozstumbler"
4-
android:versionCode="410002"
5-
android:versionName="0.41.0.2" >
4+
android:versionCode="420000"
5+
android:versionName="0.42.0.0" >
66

77
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
88
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

release_check.py

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/usr/bin/env python
2+
3+
props = {}
4+
for line in open('private.properties'):
5+
if len(line.strip()) == 0:
6+
continue
7+
k, v = line.strip().split('=')
8+
props[k] = v
9+
assert 'MapAPIKey' in props, 'MapAPIKey is ok'
10+
assert 'MozAPIKey' in props, 'MozAPIKey is ok'
11+
assert 'ACRA_URI' in props, 'ACRA_URI is ok'
12+
assert 'ACRA_USER' in props, 'ACRA_USER is ok'
13+
assert 'ACRA_PASS' in props, 'ACRA_PASS is ok'

release_check.sh

-8
This file was deleted.

0 commit comments

Comments
 (0)