From 9d77c906fdc503f19ebd71c12f47ee1f17462d49 Mon Sep 17 00:00:00 2001
From: Ryan Harg <ryan.harg@mailbox.org>
Date: Fri, 17 Sep 2021 10:03:19 +0200
Subject: [PATCH] #97: Commit and push updated fdroid version script

---
 dist/create-release.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dist/create-release.sh b/dist/create-release.sh
index 4487ecae..62177eaf 100755
--- a/dist/create-release.sh
+++ b/dist/create-release.sh
@@ -77,9 +77,10 @@ git commit --message "Update changelog for version $TAG"
 # Write versionCode and versionName to a file that F-Droid can parse
 echo "versionCode = $(version_code "${TOKENS[@]}")
 versionName = $TAG" > fdroidversion.txt
-
-echo "Tagging the application..."
+git add fdroidversion.txt
+git commit --message "Update version information for F-Droid"
 
 # Create and push tag
+echo "Tagging the application..."
 git tag -a -s -m "$MESSAGE" "$TAG"
 git push --tags
-- 
GitLab