prepare_release.sh: Added documentation

Signed-off-by: Minos Galanakis <[email protected]>
This commit is contained in:
Minos Galanakis
2025-10-30 09:58:17 +00:00
parent c4d4f6b4a1
commit 958d9d97a4
+8
View File
@@ -2,6 +2,14 @@
# 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.
set -eu
# Portable inline sed. Helper function that will automatically pre-pend