From: Matthias Kruk Date: Fri, 14 Jan 2022 12:38:36 +0000 (+0900) Subject: distbot: Add unstable package builds to unstable codename X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=e387d5025c2d22b68cbf9681941ba251d4a17131;p=foundry 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. --- 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