Skip to content

Commit

Permalink
Fixed v1.0 release for the KiCad PCM
Browse files Browse the repository at this point in the history
  • Loading branch information
CGrassin committed Feb 22, 2023
1 parent a7bbf2b commit 197e34f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions resources/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
{
"version": "1.0",
"status": "stable",
"kicad_version": "6.0"
"kicad_version": "6.0",
"kicad_version_max": "7.0"
}
]
}
}
5 changes: 3 additions & 2 deletions resources/package_release.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ cp ../pinout_generator_result.py release/plugins/
cp ../pinout_plugin.py release/plugins/

cd release
zip -r ../release.zip .
version=$(gawk '/"version"/{print gensub(/.*:.*"([0-9.]+)".*/,"\\1","g")}' metadata.json)
zip -r "../kicad-pinout-generator_$version.zip" .
cd ..
rm -R release
rm -R release

0 comments on commit 197e34f

Please sign in to comment.