Skip to content

Commit fe2f217

Browse files
Removed Unwanted hidden files from zip
1 parent 81889f7 commit fe2f217

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

-52 Bytes
Binary file not shown.
-130 Bytes
Binary file not shown.

scripts/zip.sh

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ for arch in "${ARCHITECTURES[@]}"; do
4040

4141
echo "Creating the Zip file binary in extension folder."
4242
cd "${TARGET_DIR}/${arch}"
43-
zip -r "zip/${binary_name}.zip" extensions/
44-
tar -czvf "zip/${binary_name}-${arch}.tar.gz" extensions/
43+
zip -j "zip/${binary_name}.zip" "extensions/${binary_name}"
44+
tar -czvf "zip/${binary_name}-${arch}.tar.gz" -C extensions "${binary_name}"
4545
status=$?
4646
if [ $status -ne 0 ]; then
4747
echo "Zip Generation Failed"

0 commit comments

Comments
 (0)