mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-08 07:03:02 -06:00
Ensure dependencies are packaged in the tarball
This commit is contained in:
parent
2bfe640a08
commit
6ad4a623c4
@ -69,20 +69,19 @@ do
|
||||
tar cf - $FILE | (cd src-build/$TARBALL_NAME; tar xf -)
|
||||
done
|
||||
|
||||
pushd web
|
||||
yarn install
|
||||
yarn run bundle
|
||||
cd src-build/$TARBALL_NAME/web
|
||||
yarn install
|
||||
yarn run bundle
|
||||
|
||||
for FILE in `ls -d pgAdmin/static/js/generated/*`
|
||||
do
|
||||
echo Adding $FILE
|
||||
tar cf - $FILE | (cd ../src-build/$TARBALL_NAME/web; tar xf -)
|
||||
done
|
||||
popd
|
||||
for FILE in `ls -d pgAdmin/static/js/generated/*`
|
||||
do
|
||||
echo Adding $FILE
|
||||
tar cf - $FILE | (cd ../src-build/$TARBALL_NAME/web; tar xf -)
|
||||
done
|
||||
|
||||
# Create the tarball
|
||||
echo Creating tarball...
|
||||
cd src-build
|
||||
cd ../..
|
||||
tar zcvf ../dist/$TARBALL_NAME.tar.gz $TARBALL_NAME
|
||||
cd ..
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user