dart-sass/tool/travis/deploy/pub.sh
2018-06-15 15:59:37 -07:00

15 lines
376 B
Bash
Executable File

#!/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