From f2635592eac7b71088349f30c544daffd8d201d6 Mon Sep 17 00:00:00 2001 From: Mario Souto <13791385+omariosouto@users.noreply.github.com> Date: Mon, 17 Jan 2022 23:52:22 -0300 Subject: [PATCH] fix: try again --- scripts/pub_login.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/pub_login.sh b/scripts/pub_login.sh index 428cbed..5e8c017 100644 --- a/scripts/pub_login.sh +++ b/scripts/pub_login.sh @@ -22,9 +22,11 @@ if [ -z "${PUB_DEV_PUBLISH_EXPIRATION}" ]; then echo "Missing PUB_DEV_PUBLISH_EXPIRATION environment variable" exit 1 fi + +echo "$PUB_CACHE/credentials.json" # Create credentials.json file. -cat < ~/.pub-cache/credentials.json +cat < "$PUB_CACHE/credentials.json" { "accessToken":"${PUB_DEV_PUBLISH_ACCESS_TOKEN}", "refreshToken":"${PUB_DEV_PUBLISH_REFRESH_TOKEN}",