mirror of
https://github.com/danog/dart-sass.git
synced 2025-01-08 22:08:22 +01:00
7e0b0b76b8
It doesn't really make sense to bundle these with the archive, since they aren't natively consumed by tools.
43 lines
1.1 KiB
Bash
Executable File
43 lines
1.1 KiB
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/credentials.tar.enc \
|
|
-out credentials.tar -d
|
|
|
|
mkdir -p ~/.pub-cache
|
|
tar xfO credentials.tar npm > ~/.npmrc
|
|
tar xfO credentials.tar pub > ~/.pub-cache/credentials.json
|
|
|
|
function travis_cmd() {
|
|
echo "\$ $@"
|
|
"$@"
|
|
}
|
|
|
|
travis_fold() {
|
|
local action=$1
|
|
local name=$2
|
|
echo -en "travis_fold:${action}:${name}\r"
|
|
}
|
|
|
|
travis_fold start github
|
|
travis_cmd pub run grinder github_release
|
|
travis_fold end github
|
|
|
|
travis_fold start npm
|
|
travis_cmd pub run grinder npm_release_package
|
|
travis_cmd npm publish build/npm
|
|
travis_cmd npm publish build/npm-old
|
|
travis_fold end npm
|
|
|
|
travis_fold start pub
|
|
travis_cmd pub lish --force
|
|
travis_fold end pub
|
|
|
|
travis_fold start homebrew
|
|
git config --local user.name "SassBot"
|
|
git config --local user.email "sass.bot.beep.boop@gmail.com"
|
|
travis_cmd pub run grinder update_homebrew
|
|
travis_fold end homebrew
|