Skip to content

Commit a2cba40

Browse files
prepare_release.sh: modify submodule files recursively
Signed-off-by: Minos Galanakis <[email protected]>
1 parent bdb1dcb commit a2cba40

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/prepare_release.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
# ignoring the automatically-generated files.
1010
# - Sets the CMake option `GEN_FILES` to OFF to explicitely disable
1111
# recreating the automatically-generated files.
12+
#. - The script will recursively update the tf-psa-crypto files too.
13+
1214

1315
set -eu
1416

@@ -25,7 +27,7 @@ psed() {
2527
}
2628

2729
#### .gitignore processing ####
28-
for GITIGNORE in $(git ls-files -- '*.gitignore'); do
30+
for GITIGNORE in $(git ls-files --recurse-submodules -- '*.gitignore'); do
2931
psed '/###START_GENERATED_FILES###/,/###END_GENERATED_FILES###/s/^/#/' "$GITIGNORE"
3032
psed 's/###START_GENERATED_FILES###/###START_COMMENTED_GENERATED_FILES###/' "$GITIGNORE"
3133
psed 's/###END_GENERATED_FILES###/###END_COMMENTED_GENERATED_FILES###/' "$GITIGNORE"

0 commit comments

Comments
 (0)