forked from friendica/friendica-addons
4e7da2799c
* imgages in body-attach with title / alt attribute get them removed while adding fancy attributes * Added fancybox to image inlined in posts. Un-hooked the old lightbox from frio and vier and excahnged that with fancybox hooks. * Excluded images in "type-link" divs from being "fancied" as they have no images but pages linked to.
17 lines
323 B
Text
Executable file
17 lines
323 B
Text
Executable file
MODULE=fancybox
|
|
|
|
cd ..
|
|
|
|
# read actual version from module.json
|
|
|
|
# old releases not needed anymore
|
|
mkdir -p $MODULE/dist
|
|
rm $MODULE/dist/*
|
|
|
|
# create release for actual version
|
|
zip -r9 $MODULE/dist/release.zip $MODULE/* -x $MODULE/dist/\* -x $MODULE/test/\* $MODULE/createrelease
|
|
|
|
echo dist/release.zip created.
|
|
|
|
cd $MODULE
|
|
|