mirror of
https://github.com/r-darwish/topgrade
synced 2024-07-08 20:16:24 +00:00
Use 0.1 branch of cross (#348)
This commit is contained in:
parent
62a154bc27
commit
a5e8ad68f8
|
@ -30,17 +30,11 @@ main() {
|
||||||
;;
|
;;
|
||||||
esac
|
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 | \
|
curl -LSfs https://japaric.github.io/trust/install.sh | \
|
||||||
sh -s -- \
|
sh -s -- \
|
||||||
--force \
|
--force \
|
||||||
--git japaric/cross \
|
--git japaric/cross \
|
||||||
--tag $tag \
|
--tag v0.1.16 \
|
||||||
--target $target
|
--target $target
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user