Skip to content

Commit

Permalink
Always run translation upload on master (home-assistant#1106)
Browse files Browse the repository at this point in the history
This ensures that if the master build gets cancelled when translations
change, or if any other weird situation happens, we know the
translations will be uploaded after the next build.
  • Loading branch information
emlove authored and balloob committed Apr 18, 2018
1 parent e719f11 commit 2884789
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions script/travis_deploy
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,4 @@ set -eu -o pipefail

cd "$(dirname "$0")/.."

if git diff "${TRAVIS_COMMIT_RANGE}" --name-only | grep -Fxq "src/translations/en.json" ; then
script/translations_upload_base
else
echo "No changes to src/translations/en.json. Skipping translation upload."
fi
script/translations_upload_base

0 comments on commit 2884789

Please sign in to comment.