Skip to content

Commit

Permalink
Merge pull request #8 from sergei-ivanov/master
Browse files Browse the repository at this point in the history
Updated download URLs
  • Loading branch information
weibemoura authored Apr 19, 2021
2 parents cadb915 + e8cf0a1 commit 783b50c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions bin/install
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ else
fi

ZIP="${ASDF_INSTALL_VERSION}.zip"
curl -OJL https://dl.bintray.com/groovy/maven/${ZIP}
unzip -o ${ZIP}
rm ${ZIP}
curl -OJL "https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/${ZIP}"
unzip -o "${ZIP}"
rm "${ZIP}"

cp -R groovy-*/* .
rm -rf groovy-*/
Expand Down
3 changes: 1 addition & 2 deletions bin/list-all
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
#!/usr/bin/env bash
curl -s https://dl.bintray.com/groovy/maven/ | grep -e ".*apache-groovy-binary.*.zip\"" | sed -e "s#^.*:##" -e "s#.zip.*##" -e "s#^apache-groovy-binary-##" | sort -t. -n | paste -s -d" " -
#curl -s https://dl.bintray.com/groovy/maven/ | grep -e ".*-binary.*.zip\"" | sed -e "s#^.*:##" -e "s#.zip.*##" -e "s#[a-z0-9\-]*\-##" | sort -t. -n | paste -s -d" " -
curl -s https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/ | grep -e '.*apache-groovy-binary.*.zip"' | cut -d '"' -f 2 | sed -e 's#^apache-groovy-binary-##' -e 's#.zip$##' | sort --version-sort | xargs echo

0 comments on commit 783b50c

Please sign in to comment.