Skip to content

Commit c4f4d8e

Browse files
Update pub_login.sh
1 parent d261972 commit c4f4d8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pub_login.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This script creates/updates credentials.json file which is used
1+
# This script creates/updates pub-credentials.json file which is used
22
# to authorize publisher when publishing packages to pub.dev
33

44
# Checking whether the secrets are available as environment
@@ -24,8 +24,8 @@ if [ -z "${PUB_DEV_PUBLISH_EXPIRATION}" ]; then
2424
fi
2525
# ADD THIS LINE TO CREATE THE DIRECTORY
2626
mkdir -p ~/.pub-cache
27-
# Create credentials.json file.
28-
cat <<EOF > ~/.pub-cache/credentials.json
27+
# Create pub-credentials.json file.
28+
cat <<EOF > ~/.pub-cache/pub-credentials.json
2929
{
3030
"accessToken":"${PUB_DEV_PUBLISH_ACCESS_TOKEN}",
3131
"refreshToken":"${PUB_DEV_PUBLISH_REFRESH_TOKEN}",

0 commit comments

Comments
 (0)