-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Couldn't create archive on top level #42
Comments
You're not at the top level though. You changed directory to be the build directory. If you want the build directory to be included, wouldn't you do |
@pingwin4ik what OS are you on, and what tool are you using to extract the .zip files? Some extraction tools automatically add a grouping folder when there are multiple top-level files. The one built into macOS does, for example. However if you use a tool to inspect the .zip without extracting it such as https://extract.me/ it should show things as expected. For example, I made these two .zip files from the test/ directory:
On my macbook, I also tested the above with |
Thank you for response ;=) P.S. run in Ubuntu 16 04 as runner on Azure and then publish to bucket |
The problem is that when you use "*" it doesn't zip .dot files like .htaccess. I want to zip for example the dist folder but in the archive I dont want a dist folder , I need to be top level so: |
I think that later version should include the dotfiles.. what happens with a native zip command? Alternatively, does it work if you include them explicitly? |
cd build/ && bestzip ../build.zip *
not working this feature:
(This will not include the build/ folder, it's contents will be top-level.)
version 2.1.7
Thank you!
The text was updated successfully, but these errors were encountered: