From a62f605f806e4248ccea19439c64381efb8c5ab4 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sat, 4 Dec 2021 17:54:25 +0530 Subject: chore: ensure submodules are properly updated for nightly builds. --- CONTRIBUTING.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 794d3cb79..31b4ac5de 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -99,7 +99,7 @@ npm i -g windows-build-tools --vs2015 ```bash git clone https://github.com/getferdi/ferdi.git cd ferdi -git submodule update --init --recursive +git submodule update --init --recursive --remote --rebase --force ``` It is important you execute the last command to get the required submodules (recipes). diff --git a/package.json b/package.json index 0b0a0b958..989d641d1 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "contributors": "all-contributors", "reformat-files": "./node_modules/.bin/prettier --ignore-path .eslintignore --write --require-pragma \"**/*.{js,jsx,scss}\"", "apply-branding": "ts-node ./src/i18n/apply-branding.ts", - "update-submodules": "git submodule update --remote --force", + "update-submodules": "git submodule update --init --recursive --remote --rebase --force", "prepare-code": "npm run lint:fix && npm run reformat-files && npm run manage-translations && npm run apply-branding", "link-readme": "ts-node scripts/link-readme.ts", "minify-images": "./scripts/minify-images.sh", -- cgit v1.2.3-54-g00ecf