Don't include built assets in the source tarball.

It looks like code to build and include Javascript bundles was added when React
was first included in the project. This shouldn't be the case - the source tarball
should contain only the source code.
This commit is contained in:
Dave Page 2023-03-29 15:08:27 +01:00
parent 87985e9e45
commit d3f058cf1f

View File

@ -69,18 +69,6 @@ do
tar cf - "${FILE}" | (cd "src-build/${TARBALL_NAME}"; tar xf -)
done
pushd web > /dev/null || exit
yarn install
yarn run bundle
for FILE in pgadmin/static/js/generated/*
do
echo Adding "${FILE}"
# shellcheck disable=SC2164
tar cf - "${FILE}" | (cd "../src-build/${TARBALL_NAME}/web"; tar xf -)
done
popd > /dev/null || exit
# Create the tarball
echo Creating tarball...
cd src-build || exit