From 3f1a6138cdf27ed04ca471c5c04cd25eb403cc53 Mon Sep 17 00:00:00 2001 From: Jonas Hungershausen Date: Fri, 8 Mar 2024 13:23:28 +0100 Subject: [PATCH] chore: temporarily disable dart publish (#338) --- scripts/release.sh | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/scripts/release.sh b/scripts/release.sh index a9d32e83734..a25c73d317d 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" }