Skip to content
Snippets Groups Projects
Commit 0de9190f authored by Maximilian Betz's avatar Maximilian Betz
Browse files

updated sources for first release on sandbox version

parent 96f5fb33
No related branches found
No related tags found
No related merge requests found
...@@ -511,7 +511,8 @@ class EventStoreInstance extends EventStoreBase { ...@@ -511,7 +511,8 @@ class EventStoreInstance extends EventStoreBase {
String gitVersionHash = ''; String gitVersionHash = '';
Future<void> loadGitInfo() async { Future<void> loadGitInfo() async {
final commitHash = await rootBundle.loadString('.git/refs/heads/main'); //final commitHash = await rootBundle.loadString('.git/refs/heads/main');
final commitHash = await rootBundle.loadString('.git/refs/remotes/origin/main');
gitVersionHash = commitHash.substring(0,8); //Use the short version gitVersionHash = commitHash.substring(0,8); //Use the short version
debugPrint("Commit ID: $gitVersionHash"); debugPrint("Commit ID: $gitVersionHash");
......
...@@ -91,4 +91,6 @@ class Overview extends StatelessWidget { ...@@ -91,4 +91,6 @@ class Overview extends StatelessWidget {
)), )),
); );
} }
} }
\ No newline at end of file
//TODO: displaying commit hash does not work in build APK.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment