Skip to content

Commit

Permalink
fixed the commit hash in the version name to 8 characters to avoid di…
Browse files Browse the repository at this point in the history
…screpancies with the F-droid build
  • Loading branch information
sspanak committed Mar 25, 2024
1 parent 1665b3d commit ee3931c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:tools="http://schemas.android.com/tools"
android:versionCode="411"
android:versionCode="412"
android:versionName="29.0"
xmlns:android="http://schemas.android.com/apk/res/android">

Expand Down
2 changes: 1 addition & 1 deletion app/version-tools.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def execThing (String cmdStr) {
}

def getCurrentGitHash() {
return execThing('git log -1 --format=%h')
return execThing('git rev-parse --short=8 HEAD')
}

def generateVersionName() {
Expand Down

0 comments on commit ee3931c

Please sign in to comment.