Wildcards for custom artifacts
It would be good to be able to define paths to custom artifacts
using wildcards, e.g. bin\*.nupkg
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 01 Feb, 2014 02:38 AM
I've deployed update with wildcard support. This is how it works:
To push a single file specify its full path (relative to repository root):
somefile.ext
orbin\debug\somefile.ext
To push entire folder as a single zip archive (the name of zip will be the name of folder):
somefolder
orsolution\project\bin
Wildcards. To push all NuGet packages from specific folder:
somefolder\*.nupkg
To push NuGet packages from any
bin
folder (similar to NAnt or MSBuild wildcards):*\bin\*.nupkg
Please let me know if you have any questions.
2 Posted by Adam Ralph on 01 Feb, 2014 09:49 AM
Working as advertised, thank you!
One small point. It seems to bork when forward slashes are used, e.g.
bin/*.nupkg
. It's probably better to allow either/
or\
.Support Staff 3 Posted by Feodor Fitsner on 01 Feb, 2014 10:22 PM
Will add forward slash support, sure!
4 Posted by Alxandr on 22 May, 2014 11:10 PM
Would it be possible to make * only mean the current directory? Normally, you have to do
bin/**/*.nupkg
to do all NuGet packages, however AppVeyor goes reccursive if I dobin/*.nupkg
. This is a problem as my build-script generates double of all packages for some reason (can't change that part for now, maybe it'll get resolved later), so I getbin/Lib.nupkg
andbin/Lib/Lib.nupkg
.Support Staff 5 Posted by Feodor Fitsner on 22 May, 2014 11:32 PM
Well, I don't think matching
bin/Lib/Lib.nupkg
withbin/*.nupkg
pattern is a normal behavior. Looks like an issue to me. I'm going to make sure it matchesbin/Lib.nupkg
only.Support Staff 6 Posted by Feodor Fitsner on 23 May, 2014 06:15 AM
The issue has been fixed and update deployed. Now
bin/*.nupkg
will matchbin/Lib.nupkg
only, but notbin/Lib/Lib.nupkg
. To match all *.nupkg recursively usebin/**/*.nupkg
or**/*.nupkg
(in all folders).Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:43 AM.