mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
ci: fix snapshot publish github credential preparation (#48648)
It looks like the wrapping in `&> /dev/null` breaks for some reason. We don't need it as CircleCI will remove secrets from logs if they would leak for some reason. A simple echo is very unlikely ever printing its content to stdout/stderr though. PR Close #48648
This commit is contained in:
@@ -452,9 +452,7 @@ jobs:
|
||||
- run: git config --global --unset "url.ssh://git@github.com.insteadof"
|
||||
- run:
|
||||
name: Prepare GitHub credentials
|
||||
command: |
|
||||
# Ensure we never accidentally print the token to stdout/stderr.
|
||||
{echo "https://${SNAPSHOT_BUILDS_GITHUB_TOKEN}:@github.com" > $HOME/.git_credentials} &> /dev/null
|
||||
command: echo "https://${SNAPSHOT_BUILDS_GITHUB_TOKEN}:@github.com" > ${HOME}/.git_credentials
|
||||
- run: ./scripts/ci/publish-build-artifacts.sh
|
||||
|
||||
aio_misc:
|
||||
|
||||
Reference in New Issue
Block a user