diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2018-11-03 23:38:04 -0500 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2018-11-03 23:38:04 -0500 |
| commit | ae6d4aff28559b13cec28c878209591ea3b57314 (patch) | |
| tree | b72fb7e0e39187df6aea9a658a932f548bafad47 | |
| parent | 47ca2cffd6fa0f91e390110b4b3b4a7736c5310c (diff) | |
| download | nimgen-ae6d4aff28559b13cec28c878209591ea3b57314.tar.gz nimgen-ae6d4aff28559b13cec28c878209591ea3b57314.zip | |
Last nightlies release
| -rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 988a833..9b889c5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ before_install: before_script: - curl -u $TOKEN -o latest.json --silent https://api.github.com/repos/nim-lang/nightlies/releases/latest - export RELEASE=`cat latest.json | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/'` - - export TXZ=`cat latest.json | grep '"name":' | sed -E 's/.*"([^"]+)".*/\1/' | grep linux` + - export TXZ=`cat latest.json | grep '"name":' | sed -E 's/.*"([^"]+)".*/\1/' | grep linux | tail -n 1` - export VERSION=`echo $TXZ | cut -d"-" -f 2,2` - echo "RELEASE = $RELEASE, TXZ = $TXZ, VERSION = $VERSION" - curl -L --silent -o $TXZ "https://github.com/nim-lang/nightlies/releases/download/$RELEASE/$TXZ" |
