mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(release): v0.9.24 "Peleguin"
This commit is contained in:
committed by
Andy Joslin
parent
01cfda04ac
commit
c097a4c640
@@ -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 "--"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user