diff options
author | linsui <linsui555@gmail.com> | 2023-02-10 18:29:52 +0800 |
---|---|---|
committer | linsui <linsui555@gmail.com> | 2023-02-10 18:29:52 +0800 |
commit | b6c2a01ecd3be397983c4005fda0f5ec8204f318 (patch) | |
tree | de7e834c9aebd69a2d9edef25d6ee5f7f43e9fa6 /pkgs/common-updater/scripts | |
parent | ffe472eff8553d279eda70ff32b7141316ef49f7 (diff) | |
download | nixpkgs-b6c2a01ecd3be397983c4005fda0f5ec8204f318.tar nixpkgs-b6c2a01ecd3be397983c4005fda0f5ec8204f318.tar.gz nixpkgs-b6c2a01ecd3be397983c4005fda0f5ec8204f318.tar.bz2 nixpkgs-b6c2a01ecd3be397983c4005fda0f5ec8204f318.tar.lz nixpkgs-b6c2a01ecd3be397983c4005fda0f5ec8204f318.tar.xz nixpkgs-b6c2a01ecd3be397983c4005fda0f5ec8204f318.tar.zst nixpkgs-b6c2a01ecd3be397983c4005fda0f5ec8204f318.zip |
list-git-tags: fix for tags with / in the tag name
Diffstat (limited to 'pkgs/common-updater/scripts')
-rwxr-xr-x | pkgs/common-updater/scripts/list-git-tags | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/common-updater/scripts/list-git-tags b/pkgs/common-updater/scripts/list-git-tags index 703e71438a7..cf0a52d9227 100755 --- a/pkgs/common-updater/scripts/list-git-tags +++ b/pkgs/common-updater/scripts/list-git-tags @@ -54,6 +54,6 @@ fi tags=$(git ls-remote --tags --refs "$url") # keep only the version part of the tag -tags=$(echo "$tags" | cut --delimiter=/ --field=3) +tags=$(echo "$tags" | cut --delimiter=/ --field=3-) echo "$tags" |