From 02976684e361c14d83b07340151b49c15eef5488 Mon Sep 17 00:00:00 2001 From: Takahiro Itazuri Date: Wed, 7 May 2025 10:08:10 +0000 Subject: [PATCH 1/2] chore: Enable tracing mode for release.sh `set -x` shows what commands ran, which helps us identify what failed in the release process. Signed-off-by: Takahiro Itazuri --- tools/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/release.sh b/tools/release.sh index 4679b85739e..f9de73ec6a3 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -4,7 +4,7 @@ # SPDX-License-Identifier: Apache-2.0 # fail if we encounter an error, uninitialized variable or a pipe breaks -set -eu -o pipefail +set -eux -o pipefail FC_TOOLS_DIR=$(dirname $(realpath $0)) source "$FC_TOOLS_DIR/functions" From 7a867e1f5122b2b80f1b67f7ad7fd183b9f21953 Mon Sep 17 00:00:00 2001 From: Takahiro Itazuri Date: Wed, 7 May 2025 10:10:42 +0000 Subject: [PATCH 2/2] fix(tool): Use uppercase for custom CPU template files I renamed the custom CPU template files uppercase, but I forgot to update their names in release.sh. Fixes: 286294150aff ("chore: Use uppercase for custom CPU templates") Signed-off-by: Takahiro Itazuri --- tools/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/release.sh b/tools/release.sh index f9de73ec6a3..b1efaac5293 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -177,7 +177,7 @@ cp -v -t "$RELEASE_DIR" LICENSE NOTICE THIRD-PARTY check_swagger_artifact src/firecracker/swagger/firecracker.yaml "$VERSION" cp -v src/firecracker/swagger/firecracker.yaml "$RELEASE_DIR/firecracker_spec-$VERSION.yaml" -CPU_TEMPLATES=(c3 t2 t2s t2cl t2a v1n1) +CPU_TEMPLATES=(C3 T2 T2S T2CL T2A V1N1) for template in "${CPU_TEMPLATES[@]}"; do cp -v tests/data/custom_cpu_templates/$template.json $RELEASE_DIR/$template-$VERSION.json done