Fix deploy scripts (#355)

Also add messages to make it clear which script is running in which
Travis task.
This commit is contained in:
Natalie Weizenbaum 2018-06-15 13:20:44 -07:00 committed by GitHub
parent 048cbe197a
commit 6ee8db39a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -3,7 +3,9 @@
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT.
source tool/travis/util.sh
echo 'Deploying to npm.'
source tool/travis/utils.sh
decrypt_credentials
tar xfO credentials.tar npm > ~/.npmrc

View File

@ -3,7 +3,9 @@
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT.
source tool/travis/util.sh
echo 'Deploying to pub.'
source tool/travis/utils.sh
decrypt_credentials
mkdir -p ~/.pub-cache