ci: fix snapshot publishing (#23516)

PR Close #23516
This commit is contained in:
Alex Eagle
2018-04-23 16:14:34 -07:00
committed by Victor Berchet
parent b26ac1c22f
commit ace6440460
2 changed files with 6 additions and 2 deletions

View File

@ -126,7 +126,7 @@ if [ $# -gt 0 ]; then
elif [[ \
"$CIRCLE_PROJECT_USERNAME" == "angular" && \
"$CIRCLE_PROJECT_REPONAME" == "angular" && \
! -v CIRCLE_PULL_REQUEST ]]; then
! -v CIRCLE_PR_NUMBER ]]; then
ORG="angular"
# $KEY is set on CI only for non-PR builds. See /.circleci/README.md
openssl aes-256-cbc -d -in .circleci/github_token -k "${KEY}" -out "${HOME}/.git_credentials"