Use 0.1 branch of cross (#348)

This commit is contained in:
Roey Darwish Dror 2020-02-27 20:58:09 +02:00 committed by GitHub
parent 62a154bc27
commit a5e8ad68f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,17 +30,11 @@ main() {
;;
esac
# 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 $tag \
--tag v0.1.16 \
--target $target
}