From b6e9e9740f3c946b0c1222498342d8bd2ef1dba9 Mon Sep 17 00:00:00 2001 From: Valeriy Svydenko Date: Thu, 2 May 2024 14:30:42 +0300 Subject: [PATCH] fix build pr check Signed-off-by: Valeriy Svydenko --- .ci/extension_build.sh | 38 +++++++++++++++++++++++ .github/workflows/extension-pr-check.yaml | 7 ++--- plugin-config.json | 5 +-- 3 files changed, 44 insertions(+), 6 deletions(-) create mode 100755 .ci/extension_build.sh diff --git a/.ci/extension_build.sh b/.ci/extension_build.sh new file mode 100755 index 0000000..563f888 --- /dev/null +++ b/.ci/extension_build.sh @@ -0,0 +1,38 @@ +#!/bin/bash +# +# Copyright (c) 2024 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# This script is used to check for updates to the Visual Studio plugins listed in plugin-config.json. + +set -ex + +echo "Checking for updates to the Visual Studio plugins listed in plugin-config.json" + +MAIN_BRANCH="devspaces-3-rhel-8" +curl -sSLo plugin-config-main.json https://raw.githubusercontent.com/redhat-developer/devspaces-vscode-extensions/$MAIN_BRANCH/plugin-config.json + +pluginsConfig=$(jq -r '.Plugins | keys[]'