Last nightlies release
This commit is contained in:
parent
47ca2cffd6
commit
ae6d4aff28
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue