Skip to content

Commit 726d905

Browse files
committed
Update ci.yml
1 parent f6ae1e3 commit 726d905

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ jobs:
162162
feat=$(parse_list "$rawf")
163163
work=$(parse_list "$raww")
164164
jq --arg name "$name" \
165-
--arg uniqueID "$uniqueid" \
165+
--arg versionID "$uniqueid" \
166166
--arg author "$author" \
167167
--arg discord "$discord" \
168168
--arg desc "$desc" \
@@ -171,7 +171,7 @@ jobs:
171171
--arg source "https://liliaframework.github.io/Modules/${dir}.html" \
172172
--argjson features "$feat" \
173173
--argjson workshop "$work" \
174-
'. += [{name:$name,uniqueID:$uniqueID,author:$author,discord:$discord,description:$desc,version:$version,download:$download,source:$source,features:$features,workshop:$workshop}]' modules_data.json > tmp.json
174+
'. += [{name:$name,versionID:$versionID,author:$author,discord:$discord,description:$desc,version:$version,download:$download,source:$source,features:$features,workshop:$workshop}]' modules_data.json > tmp.json
175175
mv tmp.json modules_data.json
176176
done
177177
- name: zip-modules
@@ -228,7 +228,7 @@ jobs:
228228
echo "Processing module: $mod (directory: $d)"
229229
echo "Contents of $d:"
230230
ls -la "$d/" | head -10
231-
name=$(jq -r --arg id "$mod" '.[] | select(.uniqueID==$id) | .name' documentation/modules.json || echo '')
231+
name=$(jq -r --arg id "$mod" '.[] | select(.versionID==$id) | .name' documentation/modules.json || echo '')
232232
if [ -n "$name" ]; then
233233
folder=$(echo "$name" | tr '[:upper:]' '[:lower:]' | sed -E 's/[^a-z0-9]+/_/g' | sed -E 's/^_+|_+$//g')
234234
else

0 commit comments

Comments
 (0)