dart-sass/tool/deploy.sh
Natalie Weizenbaum ba041b3471
Add support for automated deployment (#231)
We won't really be able to tell if this works until we actually deploy.
2018-02-03 17:02:27 -08:00

21 lines
872 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.
openssl aes-256-cbc -K $encrypted_d18df560dfb2_key -iv $encrypted_d18df560dfb2_iv \
-in tool/encrypted/npmrc.enc -out ~/.npmrc -d
npm publish build/npm
npm publish build/npm-old
mkdir -p ~/.pub-cache
openssl aes-256-cbc -K $encrypted_d18df560dfb2_key -iv $encrypted_d18df560dfb2_iv \
-in tool/encrypted/pub-credentials.json.enc -out ~/.pub-cache/credentials.json -d
pub lish
openssl aes-256-cbc -K $encrypted_d18df560dfb2_key -iv $encrypted_d18df560dfb2_iv \
-in tool/encrypted/git-credentials.enc -out ~/.git-credentials -d
git config --local user.name "Natalie Weizenbaum"
git config --local user.email "nweiz@google.com"
pub run grinder update-homebrew