From 372f9dd34d6d1ad14edcd495735020667de9a52a Mon Sep 17 00:00:00 2001 From: Edgar Arakelyan Date: Mon, 26 Oct 2026 08:11:26 -0700 Subject: [PATCH] fix(ci): match the 409 without a here-string, which CircleCI reads as a parameter Co-Authored-By: Claude Opus 5.5 (1M context) --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e98277ce0..d4d44533d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -111,7 +111,7 @@ jobs: local out if out=$(twine upload --repository codeartifact "$1" 2>&1); then echo "$out" - elif grep -q "HTTPError: 409" <<<"$out"; then + elif [[ $out == *"HTTPError: 409"* ]]; then echo "already in CodeArtifact: $(basename "$1")" else echo "$out" >&2