drone-s3 icon indicating copy to clipboard operation
drone-s3 copied to clipboard

windows paths contain backwards slashes

Open johanvdw opened this issue 2 years ago • 0 comments

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 avatar Nov 26 '21 08:11 johanvdw