mirror of
https://github.com/danog/dart-sass.git
synced 2025-01-08 22:08:22 +01:00
58a525c435
Getting them from a file made the process of updating either set of credentials convoluted and error-prone, and meant that if one needed to be updated both had to be re-encrypted. This also updates the pub credentials to accommodate the new scope, as described in dart-lang/pub-dev#2281.
15 lines
389 B
Bash
Executable File
15 lines
389 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 npm.'
|
|
|
|
source tool/travis/utils.sh
|
|
|
|
echo "$NPM_RC" > ~/.npmrc
|
|
|
|
travis_cmd pub run grinder npm-release-package
|
|
travis_cmd npm publish build/npm
|
|
travis_cmd npm publish build/npm-old
|