This commit is contained in:
Sebastian McKenzie
2015-07-13 16:34:43 +01:00
parent 1948946a4d
commit 2d5d1ceb5c
41 changed files with 45 additions and 299 deletions

View File

@@ -1,16 +0,0 @@
#!/bin/sh
set -e
if [ ! -d ./_babel.github.io ]; then
git clone git@github.com:babel/babel.github.io.git _babel.github.io
fi
cd _babel.github.io
if [ ! -d ./_babel ]; then
ln -s .. _babel
fi
make build
git commit -am "${TRAVIS_TAG}"
git push "https://${GH_TOKEN}@github.com/babel/babel.github.io"

View File

@@ -1,2 +0,0 @@
#!/bin/bash
set -e

View File

@@ -1,17 +0,0 @@
#!/bin/bash
set -e
LAST_TAG=$(git describe $(git rev-list --tags --max-count=1))
TAG_DIFF=$(git diff $LAST_TAG -- packages/babel-cli/)
if [ -n "$TAG_DIFF" ]; then
echo "Changes detected to babel-cli since last tag, publishing new version."
cd ../packages
node build-cli.js
cd babel-cli
npm publish
else
echo "No changes detected to babel-cli since last tag"
fi