diff --git a/.travis.yml b/.travis.yml index b69cf92a..48556ac8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,9 +31,7 @@ after_script: # Only release on release branches $RELEASE_BRANCHES =~ $TRAVIS_BRANCH && # Don't release on PR builds - $TRAVIS_PULL_REQUEST = "false" && - # Don't release on cron build - the cron job kicks off a build that will release - $TRAVIS_EVENT_TYPE != "cron" + $TRAVIS_PULL_REQUEST = "false" ]]; then # Authenticate NPM echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc diff --git a/i18n/sync_translations.sh b/i18n/sync_translations.sh index 246706b1..f3b5a0d3 100755 --- a/i18n/sync_translations.sh +++ b/i18n/sync_translations.sh @@ -10,7 +10,7 @@ if [ "${TRAVIS_EVENT_TYPE}" == "cron" ] npm run test:messages # stage any changes in the msg directory git add ./msg - git commit -m 'update translations from transifex' + git commit -m '[skip ci] Update translations from transifex' # add remote, make sure that API token doesn't end up in the log git remote add origin-translation https://${GH_TOKEN}@github.com/LLK/scratch-blocks.git > /dev/null 2>&1 git push --set-upstream origin-translation develop