Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Proget PowerShell feed: How to publish?
-
I'm very keen to use the new PowerShell feed type in ProGet to host our internal modules and scripts, but I can't seem to find information on how to actually publish a module or a script to the feed.
Is the feed compatible with PowershellGet and its functions, i.e. Register-PSRepository and Publish-Module? I can register the feed as a repo just fine.
Using the following syntax to try and publish a module:
publish-module -path <path-to-module> -NuGetApiKey <apikey> -Repository <repositoryname> -verbose
I get the following error:
Publish-PSArtifactUtility : Failed to publish module 'SR-Sysops-AWS': 'Failed to process request. 'There was an error processing the request:
Invalid package version was specified.'.Please provide some guidance as to how to publish modules and scripts to a Powershell feed.
Product: ProGet
Version: 4.1.1 -
With regards to my question above, I have found this blog article that has helped me:
https://richardspowershellblog.wordpress.com/2015/01/04/creating-a-powershellget-repository/
It talks about Proget and using a Nuget feed type, but the same methodology applies using the Powershell feed type.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login