pibakery-blocks icon indicating copy to clipboard operation
pibakery-blocks copied to clipboard

Documentation on creating a new release of blocks

Open jedahan opened this issue 6 years ago • 0 comments

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

  • remove the compressed md5
  • update the url and version
vim pibakery-blocks-new/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
  • add the new compressed md5
  • update the url and version

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

jedahan avatar Jul 30 '18 20:07 jedahan