Skip to content

Commit

Permalink
chore: make dart check more verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Jul 5, 2024
1 parent 0392a95 commit bb502ef
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ typescript_fetch() {
(cd "${dir}"; npm install; npm run build)
(cd "${dir}"; npm version -f --no-git-tag-version "${VERSION}" || true; npm publish --access public)

to_git "ts-fetch" "yes"
to_git "typescript-fetch" "yes"
}

java() {
Expand Down Expand Up @@ -197,7 +197,13 @@ dart() {
dir="clients/${PROJECT}/dart"
mkdir -p ~/.pub-cache || true
set +x

if [ -z ${DART_SERVICE_ACCOUNT+x} ]; then echo "Variable DART_SERVICE_ACCOUNT MUST be set."; fi

echo "$DART_SERVICE_ACCOUNT" | base64 -d > ~/.pub-cache/key-file.json
set -x
ls ~/.pub-cache/
set +x
gcloud auth activate-service-account --key-file=~/.pub-cache/key-file.json
gcloud auth print-identity-token \
--audiences=https://pub.dev \
Expand Down

0 comments on commit bb502ef

Please sign in to comment.