From 9bff6748964bcfd59fdfd6cc9aa2ecf730430a1c Mon Sep 17 00:00:00 2001 From: Stephen Hodgson Date: Sun, 11 Feb 2024 18:51:33 -0500 Subject: [PATCH] try parsing a different way --- .github/workflows/upm-sync.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/upm-sync.yaml b/.github/workflows/upm-sync.yaml index 1e1198c..b726580 100644 --- a/.github/workflows/upm-sync.yaml +++ b/.github/workflows/upm-sync.yaml @@ -27,7 +27,7 @@ jobs: if [ -z "$GIT_VERSIONS" ]; then VERSIONS=$ALL_VERSIONS else - VERSIONS=$(echo "$ALL_VERSIONS" | grep -vF "$GIT_VERSIONS") + VERSIONS=$(echo "$ALL_VERSIONS" | tr ',' '\n' | awk -v git_versions="$GIT_VERSIONS" '!index(git_versions,$0)' | tr '\n' ',') fi if [ -z "$VERSIONS" ]; then VERSIONS_JSON="[]"