From a9b83f226814cedae1c517ca29b0f2b5181f7664 Mon Sep 17 00:00:00 2001 From: Kai Zhu Date: Mon, 25 Mar 2024 17:23:37 -0500 Subject: [PATCH] - ci - bugfix - Fix package.json config-regression breaking ci. --- jslint_ci.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jslint_ci.sh b/jslint_ci.sh index d000594b0..8a7d619ed 100644 --- a/jslint_ci.sh +++ b/jslint_ci.sh @@ -302,7 +302,7 @@ shCiArtifactUpload() {(set -e git pull --unshallow origin "$GITHUB_BRANCH0" # init $UPSTREAM_XXX export UPSTREAM_REPOSITORY="$(node -p '( - /^https:\/\/github\.com\/([^\/]*?\/[^.]*?)\.git$/ + /^(?:git\+)?https:\/\/github\.com\/([^\/]*?\/[^.]*?)\.git$/ ).exec(require("./package.json").repository.url)[1] ')" # ' export UPSTREAM_GITHUB_IO="$( @@ -666,7 +666,7 @@ shDirHttplinkValidate() {(set -e export GITHUB_BRANCH0="${GITHUB_BRANCH0:-alpha}" # init $UPSTREAM_XXX export UPSTREAM_REPOSITORY="$(node -p '( - /^https:\/\/github\.com\/([^\/]*?\/[^.]*?)\.git$/ + /^(?:git\+)?https:\/\/github\.com\/([^\/]*?\/[^.]*?)\.git$/ ).exec(require("./package.json").repository.url)[1] ')" # ' export UPSTREAM_GITHUB_IO="$(