mirror of
https://github.com/PhotonVision/photonvision
synced 2026-07-04 03:11:40 +00:00
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:
committed by
GitHub
parent
69d2499e1a
commit
2330b72451
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user