mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06: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:
parent
87985e9e45
commit
d3f058cf1f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user