Skip to content

Commit 4e29af1

Browse files
committed
fix: Update builder
1 parent 4d2956a commit 4e29af1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ jobs:
7373
# get theme name
7474
theme_name=$(jq -r '.name' "$folder"plugin.json)
7575
76+
touch "$folder"metadata.json
77+
78+
# write current commit id to metadata.json
79+
echo "{\"commit\": \"$(git rev-parse HEAD)\"}" > "$folder"metadata.json
80+
7681
echo "Zipping folder: $folder"
7782
zip -r "$out.zip" "$folder" || echo "Failed to zip $folder"
7883
mv "$out.zip" ../build/$theme_name.zip || echo "Failed to move $folder.zip to build"

0 commit comments

Comments
 (0)