From a1942ebe5f6b96f0fbf93b0d10d484731c18384c Mon Sep 17 00:00:00 2001 From: Sean Dietrich Date: Wed, 29 Jun 2022 15:47:49 -0700 Subject: [PATCH 1/2] Fixed reference to CircleCI Variables --- scripts/set-environment | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/set-environment b/scripts/set-environment index cc58962..695e210 100755 --- a/scripts/set-environment +++ b/scripts/set-environment @@ -19,7 +19,8 @@ set -eo pipefail # CI_BRANCH=${CI_BRANCH:-$CIRCLE_BRANCH} CI_BUILD_NUMBER=${CI_BUILD_NUMBER:-$CIRCLE_BUILD_NUM} -CI_PROJECT_NAME=${CI_PROJECT_NAME:-CIRCLE_PROJECT_REPONAME} +CI_PROJECT_NAME=${CI_PROJECT_NAME:-$CIRCLE_PROJECT_REPONAME} +CI_PULL_REQUEST=${CI_PULL_REQUEST:-$CI_PULL_REQUEST} # Circle sets both $CIRCLE_PULL_REQUEST and $CI_PULL_REQUEST. PR_NUMBER=${PR_NUMBER:-$CI_PULL_REQUEST} From 071d0f2d6953f71de44a9c752b44a6067b84e7a5 Mon Sep 17 00:00:00 2001 From: Sean Dietrich Date: Wed, 29 Jun 2022 16:44:24 -0700 Subject: [PATCH 2/2] Fixed Variable Naming --- scripts/set-environment | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/set-environment b/scripts/set-environment index 695e210..7f3d8ea 100755 --- a/scripts/set-environment +++ b/scripts/set-environment @@ -20,7 +20,7 @@ set -eo pipefail CI_BRANCH=${CI_BRANCH:-$CIRCLE_BRANCH} CI_BUILD_NUMBER=${CI_BUILD_NUMBER:-$CIRCLE_BUILD_NUM} CI_PROJECT_NAME=${CI_PROJECT_NAME:-$CIRCLE_PROJECT_REPONAME} -CI_PULL_REQUEST=${CI_PULL_REQUEST:-$CI_PULL_REQUEST} +CI_PULL_REQUEST=${CI_PULL_REQUEST:-$CIRCLE_PULL_REQUEST} # Circle sets both $CIRCLE_PULL_REQUEST and $CI_PULL_REQUEST. PR_NUMBER=${PR_NUMBER:-$CI_PULL_REQUEST}