When describing the current commit, exclude the Dev tag (#226)

* When describing the current release, exclude the Dev tag

* Only run the release task on non-dev tags (i.e. real release tags)
This commit is contained in:
Declan Freeman-Gleason
2021-01-10 15:57:16 -08:00
committed by GitHub
parent 69d2499e1a
commit 2330b72451
2 changed files with 2 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ gradle.allprojects {
String tagIsh
try {
exec {
commandLine 'git', 'describe', '--tags'
commandLine 'git', 'describe', '--tags', '--exclude="Dev"'
standardOutput = stdout
}
tagIsh = stdout.toString().trim().toLowerCase()