dart-sass/tool/travis/deploy/pub.sh

15 lines
376 B
Bash
Raw Normal View History

#!/bin/bash -e
# Copyright 2018 Google Inc. Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT.
echo 'Deploying to pub.'
source tool/travis/utils.sh
decrypt_credentials
mkdir -p ~/.pub-cache
tar xfO credentials.tar pub > ~/.pub-cache/credentials.json
travis_cmd pub lish --force