From c62f1c5f64f857051cdae11e9639b789e86a66f0 Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Sun, 23 Dec 2012 15:23:12 -0600 Subject: [PATCH] dont substring release build, as it pulls name directly from build.gradle --- .../apktool-lib/src/main/java/brut/androlib/Androlib.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brut.apktool/apktool-lib/src/main/java/brut/androlib/Androlib.java b/brut.apktool/apktool-lib/src/main/java/brut/androlib/Androlib.java index 15af5b47..5465733e 100644 --- a/brut.apktool/apktool-lib/src/main/java/brut/androlib/Androlib.java +++ b/brut.apktool/apktool-lib/src/main/java/brut/androlib/Androlib.java @@ -511,7 +511,7 @@ public class Androlib { return version.endsWith("-SNAPSHOT") ? version.substring(0, version.length() - 9) + '.' + ApktoolProperties.get("git.commit.id.abbrev") - : version.substring(0,version.length() - 1); + : version; } private File[] parseUsesFramework(Map usesFramework)