From c7edab4e62ec6ad4cb74a45b89e7705dc0802fd8 Mon Sep 17 00:00:00 2001 From: Ben Newman Date: Tue, 13 Sep 2016 13:58:12 -0400 Subject: [PATCH] Initialize and update submodules when publishing meteor-tool. --- scripts/admin/publish-meteor-tool-on-arch.sh | 1 + scripts/admin/publish-meteor-tool.bat | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/admin/publish-meteor-tool-on-arch.sh b/scripts/admin/publish-meteor-tool-on-arch.sh index 8fc77609e6..444fd32f65 100755 --- a/scripts/admin/publish-meteor-tool-on-arch.sh +++ b/scripts/admin/publish-meteor-tool-on-arch.sh @@ -54,6 +54,7 @@ if [ -d meteor ]; then fi git clone --recursive https://github.com/meteor/meteor.git cd meteor +git submodule update --init --recursive git fetch --tags END diff --git a/scripts/admin/publish-meteor-tool.bat b/scripts/admin/publish-meteor-tool.bat index 4f0c233441..390287fb19 100644 --- a/scripts/admin/publish-meteor-tool.bat +++ b/scripts/admin/publish-meteor-tool.bat @@ -11,8 +11,10 @@ md C:\tmp cd C:\tmp REM get the meteor/meteor repo -C:\git\bin\git.exe clone https://github.com/meteor/meteor.git +C:\git\bin\git.exe clone --recursive https://github.com/meteor/meteor.git cd meteor +REM make extra sure to initialize and update submodules +C:\git\bin\git.exe submodule update --init --recursive REM force git to use original end-line characters (unixy '\n') C:\git\bin\git.exe config --replace-all core.autocrlf input C:\git\bin\git.exe rm --cached -r . ^> nul