From bf595dd09c20016d43268d1563efc73d845e7c82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kuba=20Szczodrzy=C5=84ski?= Date: Sat, 3 Apr 2021 15:13:10 +0200 Subject: [PATCH] [App] Fix detecting correct remote repository name. --- app/git-info.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/git-info.gradle b/app/git-info.gradle index 929d5307..2ddd8c2d 100644 --- a/app/git-info.gradle +++ b/app/git-info.gradle @@ -84,7 +84,7 @@ private def buildGitInfo() { .stream() .map { it.name + "(" + it.URIs.stream() - .map { it.rawPath } + .map { it.rawPath.stripMargin('/').replace(".git", "") } .toArray() .join(", ") + ")" }