Zip only DLL and EXE files

arnaud.castaner's Avatar

arnaud.castaner

22 Apr, 2015 09:48 AM

Hi,

Sorry if this is a stupid question but I'm rather new to AppVeyor and CI in general.

I've built a small Console application. I need to publish only the DLL and EXE files from the bin\Release\ directory. But I don't see a way to specify such a filter.

In the "After build" I've put the following command;

7z a myproject.zip myproject\Release\bin\*.dll

but obviously that would package only the dll files. How can I add the exe to that list? I have looked at this page (http://www.appveyor.com/docs/packaging-artifacts) but it doesn't cover my question.

Thanks!

A.

  1. 1 Posted by arnaud.castaner on 22 Apr, 2015 10:54 AM

    arnaud.castaner's Avatar

    I solved this by simply adding another line to wrap the .exe inside. I didn't realize that the "a" option was appending files into the archive.

  2. arnaud.castaner closed this discussion on 22 Apr, 2015 10:54 AM.

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