-
Notifications
You must be signed in to change notification settings - Fork 372
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
Negated exclude glob pattern does not seem to work #247
Comments
Small update: It seems that an old However, the issue I posted is still relevant. It would be nice to have an |
I need to agree, I have a dashboard managing parts of subfolders in the directory where i want to upload my files. I would like to be able to just delete the files named in my ftp-destination I dont want the script to not delete only excluded files/folders as I dont know what further subfolders i will upload, that will be deleted automatically on deploy. Or is there an easy solution I do not see? I might have to turn off content hashes in my bundler, but i would rather prefer to keep them to prevent browser caching errors |
Duplicate of #292 |
Bug Description
When using a negated glob pattern (i.e.
!main.*
),exclude
does not seem to parse it correctly. I tested the glob pattern and I think my syntax is correct:I want to exclude everything but
main.533533353535.js
. The other way around is:My Action Config
My Action Log
As you can see, not only my file
main.7a3ad33cea4274fddadd.js.
has been uploaded, but also the other ones.Using the non-negated version:
My Action Log
My file
main.7a3ad33cea4274fddadd.js.
has been correctly excluded.What am I trying to achieve? Actually when uploading my files, every already existing file is getting deleted. I just want to upload the files I negate on
exclude
so that it does not remove other previous files with different names.The text was updated successfully, but these errors were encountered: