#!/bin/bash
set -ev

dist=vivliostyle-js-$1
mkdir ${dist}
cp -R dist/* ${dist}/
mkdir ${dist}/viewer/
cp -R build/* ${dist}/viewer/
cp scripts/start-webserver* ${dist}/
cp -R node_modules/vivliostyle/samples ${dist}/
cp node_modules/vivliostyle/doc/supported-features.{md,html} ${dist}/docs/en/
zip -qr vivliostyle-js-latest.zip ${dist}
rm -rf ${dist}

#!/bin/bash
set -ev

dist=vivliostyle-js-$1
mkdir ${dist}
cp -R dist/* ${dist}/
cp node_modules/vivliostyle/CHANGELOG.md ${dist}/
mkdir ${dist}/viewer/
cp -R build/* ${dist}/viewer/
cp scripts/start-webserver* ${dist}/
cp -R node_modules/vivliostyle/samples ${dist}/
cp node_modules/vivliostyle/doc/supported-features.{md,html} ${dist}/docs/en/
zip -qr vivliostyle-js-latest.zip ${dist}
rm -rf ${dist}

Add CHANGELOG.md to the distribution package
Add CHANGELOG.md to the distribution package
