Skip to content

Commit bb0565d

Browse files
author
Dane Springmeyer
committed
pin mason to avoid breakage from upcoming improvements - refs mapbox/mason#131
1 parent 1a10f27 commit bb0565d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

bootstrap.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@ todo
1010
- shrink icu data
1111
'
1212

13+
MASON_VERSION="694d08c"
14+
1315
function setup_mason() {
1416
if [[ ! -d ./.mason ]]; then
15-
git clone --depth 1 https://github.com/mapbox/mason.git ./.mason
17+
git clone https://github.com/mapbox/mason.git ./.mason
18+
git checkout ${MASON_VERSION}
1619
else
1720
echo "Updating to latest mason"
18-
(cd ./.mason && git pull)
21+
(cd ./.mason && git fetch && git checkout ${MASON_VERSION})
1922
fi
2023
export MASON_DIR=$(pwd)/.mason
2124
export PATH=$(pwd)/.mason:$PATH

0 commit comments

Comments
 (0)