2018-06-05 22:04:22 +02:00
|
|
|
#!/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.
|
|
|
|
|
2018-06-15 22:20:44 +02:00
|
|
|
echo 'Deploying to npm.'
|
|
|
|
|
|
|
|
source tool/travis/utils.sh
|
2018-06-05 22:04:22 +02:00
|
|
|
|
2019-05-25 01:43:04 +02:00
|
|
|
echo "$NPM_RC" > ~/.npmrc
|
2018-06-05 22:04:22 +02:00
|
|
|
|
2018-06-27 23:32:44 +02:00
|
|
|
travis_cmd pub run grinder npm-release-package
|
2018-06-05 22:04:22 +02:00
|
|
|
travis_cmd npm publish build/npm
|
|
|
|
travis_cmd npm publish build/npm-old
|