Zip file generation

This commit is contained in:
Nabeel Shahzad 2021-06-09 16:22:25 -04:00
parent cab5c03c0b
commit 547b159570

View File

@ -74,9 +74,12 @@ ls -al $BASE_DIR/../
tar -czf $TAR_NAME -C $BASE_DIR . tar -czf $TAR_NAME -C $BASE_DIR .
sha256sum $TAR_NAME >"$TAR_NAME.sha256" sha256sum $TAR_NAME >"$TAR_NAME.sha256"
cd $BASE_DIR; zip -r $TAR_NAME *
#tar2zip $TAR_NAME cd $BASE_DIR;
zip -r $ZIP_NAME *
sha256sum $ZIP_NAME >"$ZIP_NAME.sha256" sha256sum $ZIP_NAME >"$ZIP_NAME.sha256"
mv $ZIP_NAME /tmp
mv "$ZIP_NAME.sha256" /tmp
ls -al /tmp ls -al /tmp