diff --git a/scripts/release.sh b/scripts/release.sh index a9d32e8373..a25c73d317 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -187,23 +187,23 @@ dotnet() { dart() { dir="clients/${PROJECT}/dart" - mkdir -p ~/.pub-cache || true - set +x - cat < ~/.pub-cache/credentials.json -{ - "accessToken":"${DART_ACCESS_TOKEN}", - "refreshToken":"${DART_REFRESH_TOKEN}", - "tokenEndpoint": "https://accounts.google.com/o/oauth2/token", - "scopes": [ - "openid", - "https://www.googleapis.com/auth/userinfo.email" - ], - "expiration": 1611594593613 -} -EOF - set -x - - (cd "${dir}"; VERSION=${RAW_VERSION} command dart pub publish --force) +# mkdir -p ~/.pub-cache || true +# set +x +# cat < ~/.pub-cache/credentials.json +# { +# "accessToken":"${DART_ACCESS_TOKEN}", +# "refreshToken":"${DART_REFRESH_TOKEN}", +# "tokenEndpoint": "https://accounts.google.com/o/oauth2/token", +# "scopes": [ +# "openid", +# "https://www.googleapis.com/auth/userinfo.email" +# ], +# "expiration": 1611594593613 +# } +# EOF +# set -x + +# (cd "${dir}"; VERSION=${RAW_VERSION} command dart pub publish --force) to_git "dart" "yes" }