diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f629b85cd..fc119a966 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -217,7 +217,7 @@ jobs: with: java-version: 11 - run: | - git describe --tags --exclude="dev" + git describe --tags --exclude="dev" --exclude="Dev" - run: | chmod +x gradlew ./gradlew photon-lib:build --max-workers 1 diff --git a/versioningHelper.gradle b/versioningHelper.gradle index 53c481a4a..cf1526ff8 100644 --- a/versioningHelper.gradle +++ b/versioningHelper.gradle @@ -8,7 +8,7 @@ gradle.allprojects { String tagIsh try { exec { - commandLine 'git', 'describe', '--tags', '--exclude="dev"', '--exclude="dev"' + commandLine 'git', 'describe', '--tags', '--exclude="Dev"', '--exclude="dev"' standardOutput = stdout } tagIsh = stdout.toString().trim().toLowerCase()