[Replicant] [release-scripts] [PATCH 1/3] release.sh: Add more release types to improve debugging

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Mon Jul 20 16:08:07 UTC 2020


Even if people that want to debug this release.sh script will most
likely have to modify it anyway, to add some set -x for instance,
already having the ability to re-run only a specific failing function can
save time if it's already implemented. This change is also relatively
non-intrusive, so it doesn't affect people not debugging the script.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
---
 release.sh | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/release.sh b/release.sh
index 20f2f6f..ed30084 100755
--- a/release.sh
+++ b/release.sh
@@ -243,9 +243,61 @@ RELEASE_SECURITY_DIR="$REPLICANT_DIR/vendor/replicant-security"
 RELEASE_SECURITY="media.x509.pem platform.x509.pem releasekey.x509.pem shared.x509.pem"
 
 case "$RELEASE_TYPE" in
+	"signatures_tools")
+		release_signatures_tools
+		;;
+
+	"signatures_images")
+		release_signatures_images
+		;;
+
 	"signatures")
 		release_signatures
 		;;
+
+	"images")
+		release_images
+		;;
+
+	"tools")
+		release_tools
+		;;
+
+	"scripts")
+		release_scripts
+		;;
+
+	"security")
+		release_security
+		;;
+
+	"metadata_about")
+		release_metadata_about
+		;;
+
+	"metadata_date")
+		release_metadata_date
+		;;
+
+	"metadata_changelog")
+		release_metadata_changelog
+		;;
+
+	"metadata_release")
+		release_metadata_release
+		;;
+
+	"metadata_prebuilt")
+		release_metadata_prebuilt
+		;;
+
+	"metadata_git")
+		release_metadata_git
+		;;
+
+	"metadata")
+		release_metadata
+		;;
 	*)
 		release_metadata
 		release_security
-- 
2.27.0



More information about the Replicant mailing list