We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d2956a commit 4e29af1Copy full SHA for 4e29af1
.github/workflows/ci.yml
@@ -73,6 +73,11 @@ jobs:
73
# get theme name
74
theme_name=$(jq -r '.name' "$folder"plugin.json)
75
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
81
echo "Zipping folder: $folder"
82
zip -r "$out.zip" "$folder" || echo "Failed to zip $folder"
83
mv "$out.zip" ../build/$theme_name.zip || echo "Failed to move $folder.zip to build"
0 commit comments