-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot zip files in subdirectories #84
Comments
Hello @sa-spag is this a custom script, or the |
I can reproduce the issue with the |
Could you please send me a build's url where this issue happens, so I can check out the full logs to it? |
Here it is. Notice the:
|
could it be that the correct path would be hmm that is the same that you set 🤔 I would try it to be sure |
As I expected:
Again I'm pretty sure my initial problem is that |
could you add and run a script step with:
|
- script:
title: Compress test results bundle
is_always_run: true
inputs:
- content: |-
#!/usr/bin/env bash
set -ex
cd fastlane/test_output
zip -qrTy BlaBlaCar.test_result.zip BlaBlaCar.test_result |
I'm glad you found a solution! |
Bump—is this issue still on the radar? The workaround is pretty inconvenient for something that should work out of the box. Thanks! |
Hello @fehersanyi-bitrise, is this issue still considered? |
Hi @tdesert, Could you please send a build URL where the issue is reproducible? My guess is that the issue happens when the destination directory does not exist, but this should be validated. Thanks |
Hey there 😃
Calling
ziputil.ZipDir("path/to/file", "path/to/zip", false)
produces the/usr/bin/zip -rTy path/to/zip file
command which ultimately fails withzip I/O error: No such file or directory
asfile
does not exist butpath/to/file
does.Indeed, this happens:
go-utils/ziputil/ziputil.go
Line 24 in 2a09aab
Before opening a pull request I wanted to know if there was any reason behind this implementation.
Thanks!
The text was updated successfully, but these errors were encountered: