Skip to content

Commit

Permalink
adjust generate_zip
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffen-W committed Oct 17, 2023
1 parent 85ba1ac commit 403bd04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion generate_zip.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

rm KiCad-Parasitics.zip
mv metadata.json metadata_.json
jq --arg today "$(date +%Y-%m-%d)" '.versions[0].version |= $today' metadata_.json > metadata.json

git ls-files -- '*.json' '*.png' '*.py' | xargs zip KiCad-Parasitics.zip
git ls-files -- 'metadata.json' 'resources*.png' 'plugins*.png' 'plugins*.py' | xargs zip KiCad-Parasitics.zip
mv metadata_.json metadata.json
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
],
"versions": [
{
"version": "2023.10.13",
"version": "2023.xx.xx",
"status": "stable",
"kicad_version": "7.00"
}
Expand Down

0 comments on commit 403bd04

Please sign in to comment.