Skip to content
This repository has been archived by the owner on Dec 9, 2018. It is now read-only.

Commit

Permalink
always use the latest stable cross release
Browse files Browse the repository at this point in the history
closes #152
  • Loading branch information
japaric committed Sep 14, 2017
1 parent f1f03d7 commit 7439fc9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ci/install.sh
@@ -1,11 +1,18 @@
set -ex

main() {
# This fetches latest stable release
local tag=$(git ls-remote --tags --refs --exit-code https://github.com/japaric/cross \
| cut -d/ -f3 \
| grep -E '^v[0.1.0-9.]+$' \
| sort --version-sort \
| tail -n1)

curl -LSfs https://japaric.github.io/trust/install.sh | \
sh -s -- \
--force \
--git japaric/cross \
--tag v0.1.10 \
--tag $tag \
--target x86_64-unknown-linux-musl
}

Expand Down

0 comments on commit 7439fc9

Please sign in to comment.