Skip to content

Commit a82a121

Browse files
committed
cleanup
1 parent d442734 commit a82a121

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/utils.bash

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,13 @@ sort_versions() {
4545
LC_ALL=C sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n -k 5,5n | awk '{print $2}'
4646
}
4747

48-
list_github_tags() {
49-
git ls-remote --tags --refs "$GH_REPO_URL" |
50-
grep -o 'refs/tags/.*' | cut -d/ -f3- |
51-
sed 's/^v//' # NOTE: You might want to adapt this sed to remove non-version strings from tags
52-
}
53-
5448
fetch_all_assets() {
5549
curl -s -H "Accept: application/vnd.github.v3+json" \
5650
https://api.github.com/repos/${GH_REPO}/releases |
5751
jq -r '.[0].assets[] | "\(.name) \(.browser_download_url)"'
5852
}
5953

6054
validate_platform() {
61-
6255
if [ -n "$USE_PLATFORM" ]; then
6356
return
6457
fi

0 commit comments

Comments
 (0)