From 2455291102af7efe99db2432f3f526f2d17525e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Qui=C3=B1ones?= Date: Wed, 15 Oct 2025 21:32:55 -0500 Subject: [PATCH] ci(update): prevent duplicate archs in CI commit message (#133) I think this happens since darwin builds were implemented. :D --- .github/update.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/update.sh b/.github/update.sh index 648715e..26107ae 100755 --- a/.github/update.sh +++ b/.github/update.sh @@ -265,7 +265,7 @@ update_version() { if [ "$commit_beta_targets" = "" ]; then commit_beta_targets="$arch" commit_beta_version="$semver" - else + elif ! echo "$commit_beta_targets" | grep -q "$arch"; then commit_beta_targets="$commit_beta_targets && $arch" fi fi @@ -277,10 +277,9 @@ update_version() { commit_twilight_targets="$arch" commit_twilight_version="$twilight_version_name#$updated_at_epoch" - else + elif ! echo "$commit_twilight_targets" | grep -q "$arch"; then commit_twilight_targets="$commit_twilight_targets && $arch" fi - fi }