1
0
Fork 0

fixed the commit hash in the version name to 8 characters to avoid discrepancies with the F-droid build

This commit is contained in:
sspanak 2024-03-25 15:10:16 +02:00
parent 1665b3d96c
commit ee3931cdc2
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:tools="http://schemas.android.com/tools" <manifest xmlns:tools="http://schemas.android.com/tools"
android:versionCode="411" android:versionCode="412"
android:versionName="29.0" android:versionName="29.0"
xmlns:android="http://schemas.android.com/apk/res/android"> xmlns:android="http://schemas.android.com/apk/res/android">

View file

@ -17,7 +17,7 @@ def execThing (String cmdStr) {
} }
def getCurrentGitHash() { def getCurrentGitHash() {
return execThing('git log -1 --format=%h') return execThing('git rev-parse --short=8 HEAD')
} }
def generateVersionName() { def generateVersionName() {