diff options
author | oxalica <oxalicc@pm.me> | 2021-12-07 18:11:41 +0800 |
---|---|---|
committer | oxalica <oxalicc@pm.me> | 2021-12-07 18:50:38 +0800 |
commit | aad1bda6f382bd71e45bda2bdbe357080c7d7c8d (patch) | |
tree | 2dd628352caba40e8669b0097d4808cb0e174f7c /maintainers | |
parent | ebb7f07eec7dc57fc14acdc0b8206b4d4fe1da07 (diff) | |
download | nixpkgs-aad1bda6f382bd71e45bda2bdbe357080c7d7c8d.tar nixpkgs-aad1bda6f382bd71e45bda2bdbe357080c7d7c8d.tar.gz nixpkgs-aad1bda6f382bd71e45bda2bdbe357080c7d7c8d.tar.bz2 nixpkgs-aad1bda6f382bd71e45bda2bdbe357080c7d7c8d.tar.lz nixpkgs-aad1bda6f382bd71e45bda2bdbe357080c7d7c8d.tar.xz nixpkgs-aad1bda6f382bd71e45bda2bdbe357080c7d7c8d.tar.zst nixpkgs-aad1bda6f382bd71e45bda2bdbe357080c7d7c8d.zip |
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.
Diffstat (limited to 'maintainers')
-rw-r--r-- | maintainers/scripts/pluginupdate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maintainers/scripts/pluginupdate.py b/maintainers/scripts/pluginupdate.py index 2c2cb3b6dd3..f19cd8638e2 100644 --- a/maintainers/scripts/pluginupdate.py +++ b/maintainers/scripts/pluginupdate.py @@ -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: |