Skip to content

Commit 8c6bf43

Browse files
committed
Ensure environment variablse set for localization import
1 parent 60490b4 commit 8c6bf43

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Scripts/import_localizations.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,13 @@
33
# Install the Lokalise command line tools from https://github.com/lokalise/lokalise-cli-2-go
44
# Generate an API Token (not an SDK Token!) following the instructions here: https://docs.lokalise.com/en/articles/1929556-api-tokens
55
# export LOKALISE_TOKEN="<yourtokenhere>"
6+
# export GH_TOKEN="<githubtoken>"
67

78
set -e
9+
set -u
10+
11+
: "$LOKALISE_TOKEN"
12+
: "$GH_TOKEN"
813

914
date=`date`
1015

0 commit comments

Comments
 (0)