Skip to content

Commit 0e25505

Browse files
authored
[CI] When updating submodules, also fetch tags (#5887)
1 parent fe4dde1 commit 0e25505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
"test": "npm run check",
110110
"update:pkg:hugo": "npm install --save-dev --save-exact hugo-extended@latest",
111111
"update:pkgs": "npx npm-check-updates -u",
112-
"update:submodule": "set -x && git submodule update --remote ${DEPTH:- --depth 999}"
112+
"update:submodule": "set -x && git submodule update --remote ${DEPTH:- --depth 999} && git submodule foreach 'git fetch $(git remote | tail -1) --tags'"
113113
},
114114
"devDependencies": {
115115
"@cspell/dict-es-es": "^3.0.3",

0 commit comments

Comments
 (0)