Deploy PS Module to PSGallery
Hi folks,
Is there someone who deploys successfully PowerShell Modules to
powershellgallery.com with the PackageManagement Framework?
I'm working on this for about a week now and running always into NuGet errors while using Publish-Module.
Error example: https://ci.appveyor.com/project/OCram85/ponduit/build/1.3.65
I already tried to reinstall the NuGet Package Provider:
Install-PackageProvider -Name NuGet -MinimumVersion '2.8.5.201' -Force -Verbose
For Details see:
https://github.com/OCram85/Ponduit/blob/dev/tools/AppVeyor.psm1#L88
Thanks for your help guys!
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 18 Jan, 2017 04:01 AM
Hi Marco,
Indeed it appears to be an issue you found with WMF5 image you are using. However I see that installing package provider fixes it at least for me.
This simple YAML works OK
Please try to add this at install stage the same way and let us know if this helped.
Thanks!
Ilya.
2 Posted by Marco Blessing on 18 Jan, 2017 06:44 AM
Hi,
thanks for the help. Meanwhile I fixed it and came across the same solution you suggested.
Thanks! \//_
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:14 AM.