From e387d5025c2d22b68cbf9681941ba251d4a17131 Mon Sep 17 00:00:00 2001 From: Matthias Kruk Date: Fri, 14 Jan 2022 21:38:36 +0900 Subject: [PATCH] distbot: Add unstable package builds to unstable codename Distbot places all packages in a repository under the same codename, regardless of the branch they were built from. However, unstable packages should not be mixed with stable packages. This commit modifies distbot so that it places packages built from unstable branches under the unstable codename in a repository. --- distbot.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/distbot.sh b/distbot.sh index 1e733f7..dc28898 100755 --- a/distbot.sh +++ b/distbot.sh @@ -166,6 +166,10 @@ process_sign_message() { return 1 fi + if [[ "$branch" == "unstable" ]]; then + codename="unstable" + fi + readarray -t artifacts < <(foundry_context_get_files "$context" "signed") for artifact in "${artifacts[@]}"; do -- 2.47.3