Skip to content

Commit

Permalink
chore(ci/install): fix Linux build by pinning cross
Browse files Browse the repository at this point in the history
  • Loading branch information
Kha committed Mar 6, 2020
1 parent 155f2b8 commit a243cdc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@ 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)
# # 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
}

Expand Down

0 comments on commit a243cdc

Please sign in to comment.