Don’t kick off a new build after updating translations

This commit is contained in:
Chris Garrity 2020-01-30 10:06:07 -05:00
parent 8ce0c01c73
commit 4106a4a99d
2 changed files with 2 additions and 4 deletions

View file

@ -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

View file

@ -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