Loop over tags

This commit is contained in:
Jelle Spijker 2023-03-08 11:28:36 +01:00
parent b4632f67a2
commit c36ea10b08
No known key found for this signature in database
GPG key ID: 034D1C0527888B65

View file

@ -132,7 +132,7 @@ jobs:
# %% Get the actual version
latest_branch_version = Version("0.0.0")
latest_branch_tag = None
for tag in repo.git.tag(merged = True).splitlines():
for tag in repo.active_branch.repo.tags:
if str(tag).startswith("firmware") or str(tag).startswith("master"):
continue # Quick-fix for the versioning scheme name of the embedded team in fdm_materials(_private) repo
try: