We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1800215 commit 7c5cce4Copy full SHA for 7c5cce4
cSploit/build.gradle
@@ -53,6 +53,9 @@ android {
53
targetSdkVersion 22
54
versionCode 1
55
versionName "1.6.0-rc.1"
56
+ if(System.getenv("NIGHTLY_BUILD")) {
57
+ versionName += "+" + System.getenv("NIGHTLY_BUILD_COMMIT").substring(0, 7)
58
+ }
59
}
60
61
lintOptions {
nightly-build.sh
@@ -63,6 +63,8 @@ if [ -n "${PREVIOUS_COMMIT}" -a "${PREVIOUS_COMMIT}" == "${LAST_COMMIT}" ]; then
63
exit 0
64
fi
65
66
+export NIGHTLY_BUILD_COMMIT=$LAST_COMMIT
67
+
68
echo -n -e "${CYAN}Building cSploit...${RESET}\n" | tee >(cat - >&3)
69
rm -f $(find . -name "cSploit-release.apk" -type f)
70
oldpwd=$(pwd)
0 commit comments