Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pg_tarballs/pg_tarballs_builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2023,6 +2023,9 @@ create_tarball(){
mkdir -p ${CWD}/tarballs-${PG_VERSION}
pushd /opt
ARCH=$(uname -m)
# Remove compiled Python files (.pyc) from ppg tarballs
find ./percona-python3 -type f -name '*.pyc' -delete
find ./percona-python3 -type d -name '__pycache__' -exec rm -rf {} +
find . \( -type d -name 'percona-*' \) -exec tar czvf ${CWD}/tarballs-${PG_VERSION}/percona-postgresql-${PG_VERSION}-${SSL_VERSION}-linux-${ARCH}.tar.gz {} +
popd
}
Expand Down