Skip to content

Commit

Permalink
Pin lokalise script to working version (home-assistant#12965)
Browse files Browse the repository at this point in the history
  • Loading branch information
emlove authored Mar 7, 2018
1 parent 4218b31 commit a99c8eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ script: travis_wait 30 tox --develop
services:
- docker
before_deploy:
- docker pull lokalise/lokalise-cli
- docker pull lokalise/lokalise-cli@sha256:79b3108211ed1fcc9f7b09a011bfc53c240fc2f3b7fa7f0c8390f593271b4cd7
deploy:
skip_cleanup: true
provider: script
Expand Down
3 changes: 1 addition & 2 deletions script/translations_download
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@ FILE_FORMAT=json

mkdir -p ${LOCAL_DIR}

docker pull lokalise/lokalise-cli
docker run \
-v ${LOCAL_DIR}:/opt/dest/locale \
lokalise/lokalise-cli lokalise \
lokalise/lokalise-cli@sha256:79b3108211ed1fcc9f7b09a011bfc53c240fc2f3b7fa7f0c8390f593271b4cd7 lokalise \
--token ${LOKALISE_TOKEN} \
export ${PROJECT_ID} \
--export_empty skip \
Expand Down
3 changes: 1 addition & 2 deletions script/translations_upload
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,9 @@ fi

script/translations_upload_merge.py

docker pull lokalise/lokalise-cli
docker run \
-v ${LOCAL_FILE}:/opt/src/${LOCAL_FILE} \
lokalise/lokalise-cli lokalise \
lokalise/lokalise-cli@sha256:79b3108211ed1fcc9f7b09a011bfc53c240fc2f3b7fa7f0c8390f593271b4cd7 lokalise \
--token ${LOKALISE_TOKEN} \
import ${PROJECT_ID} \
--file /opt/src/${LOCAL_FILE} \
Expand Down

0 comments on commit a99c8eb

Please sign in to comment.