From ae80683fe2907fa3402b752cb2aa3c355e6b496a Mon Sep 17 00:00:00 2001 From: Minos Galanakis Date: Thu, 30 Oct 2025 09:45:27 +0000 Subject: [PATCH] Added documentation Signed-off-by: Minos Galanakis --- scripts/prepare_release.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/prepare_release.sh b/scripts/prepare_release.sh index 7de4dfe8fb..8c135ea9c7 100755 --- a/scripts/prepare_release.sh +++ b/scripts/prepare_release.sh @@ -2,6 +2,16 @@ # Copyright The Mbed TLS Contributors # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later +# prepare_release.sh — Prepare the source tree for a release. +# +# This script switches the repo into “release” mode: +# - Updates all tracked `.gitignore` files to stop +# ignoring the automatically-generated files. +# - Sets the CMake option `GEN_FILES` to OFF to explicitely disable +# recreating the automatically-generated files. +#. - The script will recursively update the tf-psa-crypto files too. + + set -eu # Portable inline sed. Helper function that will automatically pre-pend