{"action":"created","issue":{"url":"https://api.github.com/repos/PowerShell/PowerShellGet/issues/289","repository_url":"https://api.github.com/repos/PowerShell/PowerShellGet","labels_url":"https://api.github.com/repos/PowerShell/PowerShellGet/issues/289/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/PowerShellGet/issues/289/comments","events_url":"https://api.github.com/repos/PowerShell/PowerShellGet/issues/289/events","html_url":"https://github.com/PowerShell/PowerShellGet/issues/289","id":330448169,"node_id":"MDU6SXNzdWUzMzA0NDgxNjk=","number":289,"title":"'' is not a valid version string.","user":{"login":"adambirds","id":13500254,"node_id":"MDQ6VXNlcjEzNTAwMjU0","avatar_url":"https://avatars0.githubusercontent.com/u/13500254?v=4","gravatar_id":"","url":"https://api.github.com/users/adambirds","html_url":"https://github.com/adambirds","followers_url":"https://api.github.com/users/adambirds/followers","following_url":"https://api.github.com/users/adambirds/following{/other_user}","gists_url":"https://api.github.com/users/adambirds/gists{/gist_id}","starred_url":"https://api.github.com/users/adambirds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adambirds/subscriptions","organizations_url":"https://api.github.com/users/adambirds/orgs","repos_url":"https://api.github.com/users/adambirds/repos","events_url":"https://api.github.com/users/adambirds/events{/privacy}","received_events_url":"https://api.github.com/users/adambirds/received_events","type":"User","site_admin":false},"labels":[{"id":891628943,"node_id":"MDU6TGFiZWw4OTE2Mjg5NDM=","url":"https://api.github.com/repos/PowerShell/PowerShellGet/labels/Issue-Investigate","name":"Issue-Investigate","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-07T21:49:17Z","updated_at":"2018-06-08T09:00:43Z","closed_at":null,"author_association":"NONE","body":"## Expected Behavior\r\nDeployment to PSGallery doesn't error out and completes fine. \r\n\r\n## Current Behavior\r\n```\r\nVERBOSE: Using the provider 'PowerShellGet' for searching packages.\r\nVERBOSE: Using the specified source names : 'PSGallery'.\r\nVERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.\r\nVERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2/items/psscript/' and PackageManagementProvider is 'NuGet'.\r\nVERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/items/psscript/FindPackagesById()?id='InstallHubot'' for ''.\r\nVERBOSE: Total package yield:'0' for the specified package 'InstallHubot'.\r\nVERBOSE: Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2/'; IsTrusted = 'False'; IsRegistered = 'True'.\r\nVERBOSE: Using the provider 'PowerShellGet' for searching packages.\r\nVERBOSE: Using the specified source names : 'PSGallery'.\r\nVERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.\r\nVERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2/' and PackageManagementProvider is 'NuGet'.\r\nVERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='InstallHubot'' for ''.\r\nVERBOSE: Total package yield:'0' for the specified package 'InstallHubot'.\r\nVERBOSE: Performing the operation \"Publish-Module\" on target \"Version '2.0.30' of module 'InstallHubot'\".\r\nVERBOSE: Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2/'; IsTrusted = 'False'; IsRegistered = 'True'.\r\nVERBOSE: Using the provider 'PowerShellGet' for searching packages.\r\nVERBOSE: Using the specified source names : 'PSGallery'.\r\nVERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.\r\nVERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2/' and PackageManagementProvider is 'NuGet'.\r\nVERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='xPSDesiredStateConfiguration'' for ''.\r\nVERBOSE: Total package yield:'1' for the specified package 'xPSDesiredStateConfiguration'.\r\n'' is not a valid version string.\r\n[log.txt](https://github.com/PowerShell/PowerShellGet/files/2082182/log.txt)\r\n\r\nError: 6/7/2018 8:45:50 PM: \r\n +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [<<==>>] Exception: Can't publish to gallery.\r\n```\r\n\r\n## Steps to Reproduce (for bugs)\r\nPlease see my AppVeyor build in which the deployment fails: https://ci.appveyor.com/project/adambirds/hubot-dsc-resource/build/2.0.30\r\n\r\nPlease find a link to my GitHub repository, with all the code in: https://github.com/adambirds/Hubot-DSC-Resource\r\n## Context\r\nThe deployment isn't working, when it should be.\r\n\r\n## Your Environment\r\n```PowerShell\r\n\r\n> $PSVersionTable\r\n\r\nName                           Value                                                                            \r\n----                           -----                                                                            \r\nPSVersion                      5.1.14394.1000                                                                   \r\nPSEdition                      Desktop                                                                          \r\nPSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                          \r\nBuildVersion                   10.0.14394.1000                                                                  \r\nCLRVersion                     4.0.30319.42000                                                                  \r\nWSManStackVersion              3.0                                                                              \r\nPSRemotingProtocolVersion      2.3                                                                              \r\nSerializationVersion           1.1.0.1\r\n```"},"comment":{"url":"https://api.github.com/repos/PowerShell/PowerShellGet/issues/comments/395697882","html_url":"https://github.com/PowerShell/PowerShellGet/issues/289#issuecomment-395697882","issue_url":"https://api.github.com/repos/PowerShell/PowerShellGet/issues/289","id":395697882,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTY5Nzg4Mg==","user":{"login":"adambirds","id":13500254,"node_id":"MDQ6VXNlcjEzNTAwMjU0","avatar_url":"https://avatars0.githubusercontent.com/u/13500254?v=4","gravatar_id":"","url":"https://api.github.com/users/adambirds","html_url":"https://github.com/adambirds","followers_url":"https://api.github.com/users/adambirds/followers","following_url":"https://api.github.com/users/adambirds/following{/other_user}","gists_url":"https://api.github.com/users/adambirds/gists{/gist_id}","starred_url":"https://api.github.com/users/adambirds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adambirds/subscriptions","organizations_url":"https://api.github.com/users/adambirds/orgs","repos_url":"https://api.github.com/users/adambirds/repos","events_url":"https://api.github.com/users/adambirds/events{/privacy}","received_events_url":"https://api.github.com/users/adambirds/received_events","type":"User","site_admin":false},"created_at":"2018-06-08T09:00:43Z","updated_at":"2018-06-08T09:00:43Z","author_association":"NONE","body":"Actually this is fixed in the latest version of PowerShellGet. RDP'd to the build worker and installed manually which fixed it. Think its due to having to restart Powershell to use the new version. I'll raise an issue with AppVeyor for them to allow us to update these modules at the start.\r\n\r\nUnless you have any ideas of how this could be done.\r\nI tried running those commands in the init phase, but that was unsuccessful."}}
{"actor":{"display_login":"adambirds"}}