diff options
author | Bastien Nocera <hadess@hadess.net> | 2019-11-13 23:33:59 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2019-11-13 23:33:59 +0100 |
commit | 2e961dffa3737c649ff59e9d6d9b74831baf0392 (patch) | |
tree | 65fcd2d694c132ff0eb9fc4148c5098bdfcb60ef /.gitlab-ci.yml | |
parent | b581b56ad4d52ba1b7f7ea1ab57476c1bdbe7c39 (diff) |
ci: Set a UTF-8 language during the CI
This should fix weird characters showing up in some specifications.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index af18b16..dc991e7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,7 @@ image: fedora:30 variables: DEPENDENCIES: xmlto docbook-utils libxslt make git discount + LANG: en_US.UTF-8 pages: before_script: @@ -9,7 +10,7 @@ pages: script: # Generate specs locally - cd web-export - - ./update.py + - LC_ALL=$LANG ./update.py - cd .. # That worked, clean up - git clean -dxf @@ -17,7 +18,7 @@ pages: # Generate specs for older versions - cd web-export - sed -i 's/USELOCALFILES = True/USELOCALFILES = False/' update.py - - ./update.py + - LC_ALL=$LANG ./update.py - cd .. artifacts: |