Unverified Commit c34c2351 authored by figsoda's avatar figsoda Committed by GitHub
Browse files

Merge pull request #215670 from linsui/list-git-tags

list-git-tags: fix for tags with / in the tag name
parents ad561041 b6c2a01e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"