Skip to content

Commit 992ed40

Browse files
authored
Update publish.yml : Added _langs in metadata, fulltext index builder knows what language is in process now
1 parent 0db091e commit 992ed40

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ jobs:
5757
SRC_DIR="_invariant"
5858
mkdir -p $SRC_DIR
5959
echo "::endgroup::"
60+
61+
langdirs=$(find . -maxdepth 1 -type d ! -name '.' ! -name '.*' ! -name '_*' -printf '%P\n' | paste -sd';')
6062
6163
for dir in */ ; do
6264
dir=${dir%/}
@@ -70,8 +72,9 @@ jobs:
7072
cp -r -T -v "$SRC_DIR"/. "$dir"/
7173
cd $dir
7274
echo "_lang|$dir" >> _config.txt
75+
echo "_langs|$langdirs" >> _config.txt
7376
echo "::endgroup::"
74-
[ -f "./fts-keywords.lst" ] && bash ../_ftsbuilder/indexBuild.sh "."
77+
[ -f "./fts-keywords.lst" ] && bash ../_ftsbuilder/indexBuild.sh "." "$dir"
7578
echo "::group::Language: $dir - zipping directory"
7679
echo "Zipping ..."
7780
zip -r -9 ../_output/Help-$dir.zip .

0 commit comments

Comments
 (0)