Skip to content

Commit 1331f81

Browse files
committed
a second attempt to fix travis
1 parent 1b9f833 commit 1331f81

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ node_js: stable
55
env:
66
- PATH=$HOME/purescript:$PATH
77
install:
8-
- TAG=$(curl --silent "https://api.github.com/repos/purescript/purescript/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")')
8+
- TAG=$(basename $(curl -Ls -o /dev/null -w %{url_effective} https://github.com/purescript/purescript/releases/latest))
99
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
1010
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
1111
- chmod a+x $HOME/purescript
@@ -17,7 +17,7 @@ script:
1717
- bower install
1818
- npm run -s test
1919
after_success:
20-
- >-
21-
test $TRAVIS_TAG &&
22-
echo $GITHUB_TOKEN | pulp login &&
23-
echo y | pulp publish --no-push
20+
- >-
21+
test $TRAVIS_TAG &&
22+
echo $GITHUB_TOKEN | pulp login &&
23+
echo y | pulp publish --no-push

0 commit comments

Comments
 (0)