Does Octopus support prerelease version numbers?

Hello,

NuGet supports prerelease version numbers, as described here: http://docs.nuget.org/docs/reference/versioning

This means that a NuGet package can be assigned a version 1.0.1-rc. I tried using such scheme, and while OctoPack supports it, this causes a Tentacle to fail. Below is the log.

UPDATE: The error occurred in version 2.0.9. I just downloaded version 2.0.10 and everything works fine. Problem solved.

Log:
Downloading NuGet package NRK.DsIts.Host 1.0.0-dev45 from feed: 'http://mabuild01/httpAuth/app/nuget/v1/FeedService.svc/'
Uploading NRK.DsIts.Host.1.0.0-dev45 (0,16 MB) to SQ-MAEAINT01-A470EFA1
Package NRK.DsIts.Host 1.0.0-dev45 successfully uploaded to tentacle SQ-MAEAINT01-A470EFA1
Beginning deployment…
Error running conventions; running rollback conventions…
A convention could not be successfully applied.

Application pool “DsIts” already exists
Set application pool identity: ApplicationPoolIdentity
Set .NET framework version: v4.0
Site “DsIts” already exists
Assigning website to application pool…
Anonymous authentication enabled: True
Basic authentication enabled: False
Windows authentication enabled: False
Assigning bindings to website…
Binding: http *:81:
Home directory: D:\Octopus\Applications\Dev\NRK.DsIts.Host\1.0.0-dev45
Get-WebItemState : The object identifier does not represent a valid object. (Exception from HRESULT: 0x800710D8)

  • CategoryInfo : NotSpecified: (:slight_smile: [Get-WebItemState], COMException
  • FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.IIs.PowerShell.Provider.GetItemStateCommand
    Script ‘C:\Program Files (x86)\Octopus Tentacle 2.0\Agent\Scripts\Octopus.Features.IISWebSite_BeforePostDeploy.ps1’ returned non-zero exit code: 1. Deployment terminated.

Does this mean packages can only be assigned numerical version numbers, or this is a bug in Octopus?

Vagif

To answer my own question: Octopus has full support for semantic versioning and for prelease versions like 1.0.0-rc1. We managed to set it up.

Thanks for the update, glad you got it working!

Paul