scripts/pluginupdate.py: use HEAD as default branch

Thus we always use the default branch. No need to special handle of `master`,
`main`, `trunk` and etc.
This commit is contained in:
oxalica 2021-12-07 18:11:41 +08:00
parent ebb7f07eec
commit aad1bda6f3
No known key found for this signature in database
GPG key ID: CED392DE0C483D00

View file

@ -385,7 +385,7 @@ def check_results(
sys.exit(1)
def parse_plugin_line(line: str) -> PluginDesc:
branch = "master"
branch = "HEAD"
alias = None
name, repo = line.split("/")
if " as " in repo: