diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 96dffcb37..52c0d0acf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -216,8 +216,6 @@ jobs: - uses: actions/setup-java@v1 with: java-version: 11 - - run: | - git describe --tags --exclude="Dev" - run: | chmod +x gradlew ./gradlew photon-lib:build --max-workers 1 diff --git a/versioningHelper.gradle b/versioningHelper.gradle index cf1526ff8..1b8bde4e2 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="[dD]ev*"' standardOutput = stdout } tagIsh = stdout.toString().trim().toLowerCase()