summary refs log tree commit diff
diff options
context:
space:
mode:
authorlinsui <linsui555@gmail.com>2023-02-10 18:29:52 +0800
committerlinsui <linsui555@gmail.com>2023-02-10 18:29:52 +0800
commitb6c2a01ecd3be397983c4005fda0f5ec8204f318 (patch)
treede7e834c9aebd69a2d9edef25d6ee5f7f43e9fa6
parentffe472eff8553d279eda70ff32b7141316ef49f7 (diff)
downloadnixpkgs-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
-rwxr-xr-xpkgs/common-updater/scripts/list-git-tags2
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"