diff --git a/package.json b/package.json index 589e7f603a..e187a76a9e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ionic", "private": false, - "version": "0.9.24-alpha-7322-13809-13288", + "version": "0.9.24-alpha-7322-13809-13288-6754-12323", "codename": "peleguin", "devDependencies": { "grunt": "~0.4.1", diff --git a/scripts/site/publish.sh b/scripts/site/publish.sh index cff167f76b..12d035cd14 100755 --- a/scripts/site/publish.sh +++ b/scripts/site/publish.sh @@ -3,10 +3,7 @@ echo "#################################" echo "#### Update Site #################" echo "#################################" -# Version label is "nightly" or a version number -ARG_DEFS=( - "--version-label=(.*)" -) +ARG_DEFS=( ) function init { PROJECT_DIR=$SCRIPT_DIR/../.. @@ -29,7 +26,7 @@ function run { cd $IONIC_SITE_DIR $(replaceInFile "_config.yml" "latest_download:.*" "latest_download: http://code.ionicframework.com/$VERSION/ionic-v$VERSION.zip") - $(replaceInFile "_config.yml" "latest_version:.*" "latest_version: $VERSION \"$VERSION_LABEL\"") + $(replaceInFile "_config.yml" "latest_version:.*" "latest_version: $VERSION \"$CODENAME\"") $(replaceInFile "_config.yml" "latest_release_date:.*" "latest_release_date: $DATE") git add -A diff --git a/scripts/travis/ci.sh b/scripts/travis/ci.sh index 2518ae7851..1df8e9dcc5 100755 --- a/scripts/travis/ci.sh +++ b/scripts/travis/ci.sh @@ -53,7 +53,7 @@ function run { # 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) - if [[ "$COMMIT_MESSAGE" == "chore(release):" ]]; then + if [[ "$COMMIT_MESSAGE" == "chore(release)" ]]; then IS_RELEASE=true echo "##################################" echo "# Pushing out a new full release #" @@ -82,7 +82,7 @@ function run { if [[ $IS_RELEASE == "true" ]]; then ./scripts/seed/publish.sh - ./scripts/site/publish.sh --version-label="$VERSION_LABEL" + ./scripts/site/publish.sh fi echo "--- Build Complete! ----"