get only the exact matching tags
This commit is contained in:
parent
c5089161e7
commit
6731ca24a9
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ def get_devops_build(project):
|
|||
return project.get_property('devops_build')
|
||||
|
||||
def get_tag_from_latest_commit():
|
||||
return run('git describe --abbrev=0 --tags', shell=True, capture_output=True).stdout.decode('UTF-8').rstrip()
|
||||
return run('git describe --abbrev=0 --tags --exact-match', shell=True, capture_output=True).stdout.decode('UTF-8').rstrip()
|
||||
|
||||
class DevopsBuild:
|
||||
|
||||
|
|
Loading…
Reference in a new issue