From 0e2550594acddc0d4148d96e2acbb7108abcbe40 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Mon, 6 Jan 2025 18:08:21 -0500 Subject: [PATCH] [CI] When updating submodules, also fetch tags (#5887) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d341f8ef87c2..f1c57213be5e 100644 --- a/package.json +++ b/package.json @@ -109,7 +109,7 @@ "test": "npm run check", "update:pkg:hugo": "npm install --save-dev --save-exact hugo-extended@latest", "update:pkgs": "npx npm-check-updates -u", - "update:submodule": "set -x && git submodule update --remote ${DEPTH:- --depth 999}" + "update:submodule": "set -x && git submodule update --remote ${DEPTH:- --depth 999} && git submodule foreach 'git fetch $(git remote | tail -1) --tags'" }, "devDependencies": { "@cspell/dict-es-es": "^3.0.3",