From c2ef47d8642d749579add5342cd0722724ddc0ed Mon Sep 17 00:00:00 2001 From: Dennis Guse Date: Fri, 6 Dec 2024 07:29:22 +0100 Subject: [PATCH] Test --- .github/workflows/lint.yml | 2 +- build.gradle | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5a314cbf03..b927b67634 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,4 +18,4 @@ jobs: distribution: 'zulu' java-version: '17' - - run: ./gradlew lint + - run: git describe --tags diff --git a/build.gradle b/build.gradle index ad432a3c50..be560b8a2f 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,7 @@ def getVersionName = { -> } return stdout.toString().trim() } catch (ignored) { - throw new GradleException('VersionName could not be read:' + ignored.message) + throw ignored } } @@ -39,7 +39,7 @@ def getVersionCode = { -> } return Integer.valueOf(stdout.toString().trim()) } catch (ignored) { - throw new GradleException('VersionCode could not be read:' + ignored.message) + throw ignored } }