mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-05 18:57:03 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user