Merged in bugfix/release-not-listing-branches (pull request #48)
bugfix: release not listing branches Approved-by: Jonathan Teran
This commit is contained in:
+1
-4
@@ -74,10 +74,7 @@ class Git:
|
||||
@staticmethod
|
||||
def _get_references(kind: str):
|
||||
prefix = "refs/" + kind
|
||||
return list(map(
|
||||
lambda r: r.removeprefix(prefix),
|
||||
Git("for-each-ref", prefix + "*", format="%(refname)").lines(),
|
||||
))
|
||||
return Git("for-each-ref", prefix + "**", format="%(refname:short)").lines()
|
||||
|
||||
@staticmethod
|
||||
def is_repository() -> bool:
|
||||
|
||||
Reference in New Issue
Block a user