appleboy / drone-scp

Copy files and artifacts via SSH using a binary, docker or Drone CI.
MIT License
142 stars 30 forks source link

Can't exclude hidden files #110

Open r3pek opened 4 years ago

r3pek commented 4 years ago

I'm trying to scp a bunch of files but not include hidden files from the current directory. Basically I have something like

source:
  - !./.*
  - .

But for some reason, the negative source for the exclude part never matches in the tar that gets generated always copying the hidden files.

appleboy commented 4 years ago

I will take it.