We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a933c2 commit 1b9f833Copy full SHA for 1b9f833
.travis.yml
@@ -5,7 +5,7 @@ node_js: stable
5
env:
6
- PATH=$HOME/purescript:$PATH
7
install:
8
- - TAG=$(wget -q -O - https://github.com/purescript/purescript/releases/latest --server-response --max-redirect 0 2>&1 | sed -n -e 's/.*Location:.*tag\///p')
+ - TAG=$(curl --silent "https://api.github.com/repos/purescript/purescript/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")')
9
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
10
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
11
- chmod a+x $HOME/purescript
0 commit comments