Skip to content

Commit a9b83f2

Browse files
committed
- ci - bugfix - Fix package.json config-regression breaking ci.
1 parent daa56c6 commit a9b83f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jslint_ci.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ shCiArtifactUpload() {(set -e
302302
git pull --unshallow origin "$GITHUB_BRANCH0"
303303
# init $UPSTREAM_XXX
304304
export UPSTREAM_REPOSITORY="$(node -p '(
305-
/^https:\/\/github\.com\/([^\/]*?\/[^.]*?)\.git$/
305+
/^(?:git\+)?https:\/\/github\.com\/([^\/]*?\/[^.]*?)\.git$/
306306
).exec(require("./package.json").repository.url)[1]
307307
')" # '
308308
export UPSTREAM_GITHUB_IO="$(
@@ -666,7 +666,7 @@ shDirHttplinkValidate() {(set -e
666666
export GITHUB_BRANCH0="${GITHUB_BRANCH0:-alpha}"
667667
# init $UPSTREAM_XXX
668668
export UPSTREAM_REPOSITORY="$(node -p '(
669-
/^https:\/\/github\.com\/([^\/]*?\/[^.]*?)\.git$/
669+
/^(?:git\+)?https:\/\/github\.com\/([^\/]*?\/[^.]*?)\.git$/
670670
).exec(require("./package.json").repository.url)[1]
671671
')" # '
672672
export UPSTREAM_GITHUB_IO="$(

0 commit comments

Comments
 (0)