Skip to content

Commit

Permalink
Revert "release: v6.4.0-rc02"
Browse files Browse the repository at this point in the history
This reverts commit 04e78c9.
  • Loading branch information
JavkhlanK committed May 14, 2022
1 parent 04e78c9 commit 2dad655
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,22 @@ android {

def gitCommitHash = "git rev-parse HEAD".execute().text.trim()

def getCommitHash = { ->
def stdout = new ByteArrayOutputStream()
exec {
commandLine "git", "rev-parse", "--short", "HEAD"
standardOutput = stdout
}
return stdout.toString().trim()
}

defaultConfig {
applicationId "com.sketchware.remod"
namespace "com.sketchware.remod"
//noinspection ExpiredTargetSdkVersion since we don't target getting Sketchware Pro on Google Play.
targetSdkVersion 28
versionCode 150
versionName "v6.4.0-rc02"
versionName "v6.4.0-SNAPSHOT-" + getCommitHash()

buildConfigField("String", "GIT_HASH", "\"${gitCommitHash}\"")

Expand Down

0 comments on commit 2dad655

Please sign in to comment.