Under deployment process I’ve created a first step which runs this script:
Function Get-IISVersion{
$iisversion = get-itemproperty HKLM:\SOFTWARE\Microsoft\InetStp\ | select -ExpandProperty versionstring
$iisversion
}
Write-output "IIS version installed on $($env:COMPUTERNAME): " (Get-IISVersion)
Then I need to create a Release to deploy this step into my project. On release version its only possible to put numbers like the default 0.0.1.
I would love to see on dashboard not ‘0.0.1’ but ‘Version 7.5’ as result as $iisversion got from my script.
Is this possible to do?
Thanks for reaching out. That’s absolutely not possible. In Octopus we strictly follow the Semantic version format for releases, and Version 7.5 is not a valid SemVer version string.
thanks for your reply.
I understand it’s only possible use integers on this string.
My question is it possible to change the release version field name to 7.5.0 automatically?
I mean, I create a release and named as 1.0.1, after run the task it devolves a result which is only possible to see on task log. Of course i can manually name the field after check the version returned from script but automatic change makes more sense.