Skip to content

Commit

Permalink
chore: temporarily disable dart publish (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-jonas authored Mar 8, 2024
1 parent d3258f7 commit 3f1a613
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,23 +187,23 @@ dotnet() {
dart() {
dir="clients/${PROJECT}/dart"

mkdir -p ~/.pub-cache || true
set +x
cat <<EOF > ~/.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 <<EOF > ~/.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"
}

Expand Down

0 comments on commit 3f1a613

Please sign in to comment.