mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -04:00
Don’t kick off a new build after updating translations
This commit is contained in:
parent
8ce0c01c73
commit
4106a4a99d
2 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue