nightroman / Invoke-Build

Build Automation in PowerShell

Home Page:https://github.com/nightroman/Invoke-Build/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Different module and package versions

ampire5 opened this issue · comments

The version of the nuget package according to data from the nuspec file differs from the version of the PS module according to data from the psd1 file:
https://github.com/nightroman/Invoke-Build/blob/v5.9.9/.build.ps1#L85

Version from nuspec: 5.9.9
Version from psd1: 5.9.9.0

This causes third-party PowerShellGet server implementations (e.g. Artifactory) to query the available versions with the version from nuspec, which breaks the mechanism of further work with PowerShell modules, such as Install-Module and Import-Module due to the difference in the version in path to the module and in the data from psd1.

@ampire5 Thank you for reporting this. This mismatch is due to temporary PSGallery issues, hopefully solved now. I'll try to push 5.9.10 shortly.

@ampire5 Done, please use v5.9.10