Skip to content

Commit 658efcc

Browse files
scpa1055cassava
authored andcommitted
vtd: Add git describe to profile_default
If no VERSION is explicitly set, use the git describe version tag.
1 parent 2633a2e commit 658efcc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

optional/vtd/tests/profile_default.py

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ def set_version(self):
2525
if version_file.exists():
2626
self.version = self.project_version(version_path)
2727
return
28+
git = tools.Git(folder=self.recipe_folder)
29+
self.version = git.run("describe --dirty=-dirty")[1:]
2830

2931
def requirements(self):
3032
self.requires(f"cloe-engine/{self.version}@cloe/develop")

0 commit comments

Comments
 (0)