drone-plugins / drone-s3

Drone plugin for publishing artifacts to Amazon S3
http://plugins.drone.io/drone-plugins/drone-s3
Apache License 2.0
36 stars 64 forks source link

Handle upload path correctly for windows #88

Closed shubham149 closed 2 years ago

shubham149 commented 2 years ago

Currently file is uploaded at path containing backslashes in windows e.g. target\api\lib\foo. The folder structure in aws S3 UI uses forward slashes as separator. Hence converting the target path to use forward slash instead of backslash. So, for the example, it will be uploaded at path target/api/lib/foo