Skip to content

Commit

Permalink
minor build tweaks to be paranoid during a release build
Browse files Browse the repository at this point in the history
bumped version to 0.42.0.0
  • Loading branch information
crankycoder committed Oct 24, 2014
1 parent fd2731d commit 0d811e7
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ test: unittest
./gradlew testUnittest --info

release_check:
. ./release_check.sh
./release_check.py

unittest:
./gradlew assembleUnittest
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.41.0.2
0.42.0.0
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// each of the version numbers must be 0-99
def versionMajor = 0
def versionMinor = 41
def versionMinor = 42
def versionPatch = 0
def versionBuild = 2 // this is non-zero for any dev build
def versionBuild = 0 // this is non-zero for any dev build

buildscript {
repositories {
Expand Down
8 changes: 8 additions & 0 deletions android/proguard.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,11 @@
}

-libraryjars <java.home>/lib/rt.jar(java/**,javax/**)

# osmdroid introduced these dumb warnings
-dontwarn org.apache.**

# proguard has started to die on optimisation because of our merged osmdroid code
-dontoptimize

-mergeinterfacesaggressively
4 changes: 2 additions & 2 deletions android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.mozilla.mozstumbler"
android:versionCode="410002"
android:versionName="0.41.0.2" >
android:versionCode="420000"
android:versionName="0.42.0.0" >

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
Expand Down
13 changes: 13 additions & 0 deletions release_check.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env python

props = {}
for line in open('private.properties'):
if len(line.strip()) == 0:
continue
k, v = line.strip().split('=')
props[k] = v
assert 'MapAPIKey' in props, 'MapAPIKey is ok'
assert 'MozAPIKey' in props, 'MozAPIKey is ok'
assert 'ACRA_URI' in props, 'ACRA_URI is ok'
assert 'ACRA_USER' in props, 'ACRA_USER is ok'
assert 'ACRA_PASS' in props, 'ACRA_PASS is ok'
8 changes: 0 additions & 8 deletions release_check.sh

This file was deleted.

0 comments on commit 0d811e7

Please sign in to comment.