davidferguson / pibakery-blocks

All the blocks for the Pi Bakery program
GNU General Public License v3.0
242 stars 86 forks source link

Documentation on creating a new release of blocks #87

Open jedahan opened 6 years ago

jedahan commented 6 years ago

Leaving this here because I would like to know if this is the best way to edit and test existing blocks

edit some blocks

prepare the folder

mkdir pibakery-blocks-new
cp -r pibakery-blocks pibakery-blocks-new
rm -rf pibakery-blocks-new/.git

edit the info.json

release the zip

zip -r pibakery-block.zip pibakery-blocks-new

go back and edit the source info.json

vim pibakery-blocks/info.json

The circular dependency of zips and updates is a bit confusing, is there a good way to remove this?