Created
October 4, 2018 15:50
-
-
Save jeffque/62b0249ccfa17fe006ce30037c197caa to your computer and use it in GitHub Desktop.
Pegando a versão desejada
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl -s https://maven.totalcross.com/artifactory/repo1/com/totalcross/totalcross-sdk/${informed_version}/maven-metadata.xml | | |
grep value | | |
head -n1 | | |
sed -E 's/^.*>([^<]*)<.*$/\1/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment