Skip to content
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

windows paths contain backwards slashes #78

Open
johanvdw opened this issue Nov 26, 2021 · 0 comments
Open

windows paths contain backwards slashes #78

johanvdw opened this issue Nov 26, 2021 · 0 comments

Comments

@johanvdw
Copy link

johanvdw commented Nov 26, 2021

When I try to upload a file from a windows build of this plugin (for windows 2019) to minio, I see that the backwards slashes from the path become part of the filename.

time="2021-11-26T08:57:19+01:00" level=info msg="Attempting to upload" bucket=conda endpoint="https://minio.xxx.net" region=us-east-1
--
5 | time="2021-11-26T08:57:19+01:00" level=info msg="Uploading file" bucket=conda name=conda_build/win-64/cn_ws-4.2.0-0.tar.bz2 target="/\\win-64\\cn_ws-4.2.0-0.tar.bz2"

Note I did compile the exe on linux, if that could be the issue, I can try rebuilding it on windows.

I saw the same behaviour when using the s3-sync plugin.

johanvdw added a commit to johanvdw/drone-s3 that referenced this issue Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant