Commit de678912 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

dont try to update orphans

parent 676508ce
Pipeline #1943 passed with stages
in 42 seconds
......@@ -299,6 +299,8 @@ class Project(Links, NamedModel, TimeStampedModel):
Tag.objects.get_or_create(name=str(tag), project=self)
def update(self):
if self.main_namespace is None:
tag = self.tag_set.filter(name__startswith='v').last() # TODO: implement SQL ordering for semver
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment