Browse Source

Add translation build

Joachim M. Giæver 1 year ago
parent
commit
8bfe626268
1 changed files with 4 additions and 0 deletions
  1. 4 0
      snap/snapcraft.yaml

+ 4 - 0
snap/snapcraft.yaml

@@ -242,6 +242,10 @@ parts:
     constraints:
       - homeassistant/package_constraints.txt
     override-build: |
+      CWD="$(pwd)"
+      cd "${SNAPCRAFT_PART_BUILD}"
+      python3 -m script.translations develop --all
+      cd "${CWD}"
       snapcraftctl build
       
     override-stage: |