Commits

Jan Borsodi  committed 926adf5

command.release: Services which are drafts are not considered when finding the latest version of a service.

  • Participants
  • Parent commits 0e58cbe
  • Branches repo-manager

Comments (0)

Files changed (1)

File hob/script.py

         latest_services = {}
         for service in result.new + result.upgradeable:
             major, minor = service.getVersionNumber()
+            is_draft = service.options.getvalue("draft", False)
+            if is_draft:
+                continue
             cur_service = latest_services.get(service.name, None)
             if cur_service:
                 version = cur_service.getVersionNumber()