where should i copy the nupkg so that appveyor automatically pushes them to the feed
Hey,
I've been playing around with building nugets by msbuild using csproj file ( http://blog.nuget.org/20170316/NuGet-now-fully-integrated-into-MSBuild.html )
This creates the nuget package inside the bin folder.
In order to to push them to appveyor i used Push-AppveyorArtifact from powershell
`Get-ChildItem "*\bin\*.nupkg" | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }`
It works but only before tests are running.
Can i somehow provide the nupkg files to the step of appveyor that pushes nugets created in the old flow, from nuspec files ?
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
1 Posted by Ilya Finkelshte... on 03 Jul, 2017 05:44 PM
Hi Dorin,
If you use built-in artifacts packaging it will happen after test are running, as described in build pipeline.
Also you can use your script at
after_test
stage (again see build pipeline).Packaging nuget in the "old flow" does not change the order of artifacts packaging, it also happens during
build
step. Per my understanding , you need to adjust time of artifacts packaging, not nuget packaging.2 Posted by Dorin Oltean on 04 Jul, 2017 06:27 AM
Thanks. Went with the artifacts solution. Works great.
3 Posted by Ilya Finkelshte... on 04 Jul, 2017 08:36 PM
Thank you for update!
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:18 AM.