fix mason re-checkout [skip ci]
This commit is contained in:
parent
bb0565d4d8
commit
f9397e7e66
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ MASON_VERSION="694d08c"
|
||||||
function setup_mason() {
|
function setup_mason() {
|
||||||
if [[ ! -d ./.mason ]]; then
|
if [[ ! -d ./.mason ]]; then
|
||||||
git clone https://github.com/mapbox/mason.git ./.mason
|
git clone https://github.com/mapbox/mason.git ./.mason
|
||||||
git checkout ${MASON_VERSION}
|
(cd ./.mason && git checkout ${MASON_VERSION})
|
||||||
else
|
else
|
||||||
echo "Updating to latest mason"
|
echo "Updating to latest mason"
|
||||||
(cd ./.mason && git fetch && git checkout ${MASON_VERSION})
|
(cd ./.mason && git fetch && git checkout ${MASON_VERSION})
|
||||||
|
|
Loading…
Reference in a new issue