mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
Merge pull request #215670 from linsui/list-git-tags
list-git-tags: fix for tags with / in the tag name
This commit is contained in:
commit
c34c235192
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user