chore(release): v0.9.24 "Peleguin"

This commit is contained in:
Adam Bradley
2014-02-12 09:18:38 -06:00
committed by Andy Joslin
parent 01cfda04ac
commit c097a4c640
3 changed files with 34 additions and 32 deletions

View File

@@ -30,7 +30,7 @@ function prepare {
grunt changelog
git add package.json bower.json component.json release CHANGELOG.md
git commit -m "chore(release): v$VERSION"
git commit -m "chore(release): v$VERSION \"$CODENAME\""
git tag -m "v$VERSION" v$VERSION
echo "--"

View File

@@ -51,19 +51,19 @@ function run {
fi
# If latest commit message starts with 'chore(release):' it's a release
COMMIT_MESSAGE=$(git log --format=%B -n 1 $TRAVIS_COMMIT | head -c 15)
# COMMIT_MESSAGE=$(git log --format=%B -n 1 $TRAVIS_COMMIT | head -c 15)
if [[ "$COMMIT_MESSAGE" == "chore(release:" ]]; then
IS_RELEASE=true
echo "##################################"
echo "# Pushing out a new full release #"
echo "##################################"
else
echo "#####################################"
echo "# Pushing out a new nightly release #"
echo "#####################################"
./scripts/travis/bump-nightly-version.sh
fi
# if [[ "$COMMIT_MESSAGE" == "chore(release:" ]]; then
IS_RELEASE=true
echo "##################################"
echo "# Pushing out a new full release #"
echo "##################################"
# else
# echo "#####################################"
# echo "# Pushing out a new nightly release #"
# echo "#####################################"
# ./scripts/travis/bump-nightly-version.sh
# fi
# Build (make sure to build after version is bumped)
grunt build