aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2018-11-02 22:18:05 -0500
committerGanesh Viswanathan <dev@genotrance.com>2018-11-02 22:18:05 -0500
commitd6c827bb281f24899a16aa60e0b5cd0a1c3c61dc (patch)
treee05ab6008e47b1dda3d59b57e64aa6d3d18f5b2d
parent03c38a244838809fb630431ce20b7183a6d316ca (diff)
downloadnimgen-d6c827bb281f24899a16aa60e0b5cd0a1c3c61dc.tar.gz
nimgen-d6c827bb281f24899a16aa60e0b5cd0a1c3c61dc.zip
Github download
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 4687afe..7b3241e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,7 +9,9 @@ addons:
packages:
- libssh2-1-dev
before_script:
- - curl -u $TOKEN -o latest.json https://api.github.com/repos/nim-lang/nightlies/releases/latest
+ - curl -u $TOKEN -o latest.json --silent https://api.github.com/repos/nim-lang/nightlies/releases/latest
+ - curl -u $TOKEN https://api.github.com/repos/nim-lang/nightlies/releases/latest
+ - cat latest.json
- 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 VERSION=`echo $TXZ | cut -d"-" -f 2,2`