After upgrading to Octopus Deploy 3.13.7 from 3.3.20, I have come across a weird issue.
Every time our TeamCity agent builds an application, it creates a nuget package in the below format.
PackageID.<Version ID>.nupkg
with version id being in the following format %Version.Major%.%Version.Minor%.%env.BUILD_START_MONTHANDDAY%.%system.build.number%
.
This results in the below nuget package.
XPO.CapacityManagement.UI.1.1.0523.253.nupkg
The problem with Octopus Deploy is that, when sending a request to teamcity to fetch this package it is somehow truncating the 0 in 0523 and sending the request as below.
http://our-teamcity-server:90/guestAuth/app/nuget/v1/FeedService.svc/Packages(Id='XPO.CapacityManagement.UI',Version='
1.1.523.253')
which results in the below error
Unable to download package XPO.CapacityManagement.UI.1.1.0523.253 from NuGet feed
Everything works fine if I add the truncated 0 to the request i,e
http://our-teamcity-server:90/guestAuth/app/nuget/v1/FeedService.svc/Packages(Id='XPO.CapacityManagement.UI',Version='
1.1.0523.253')
Can you please let me know If there is anything I’m missing in my Octopus Deployment setup or if this is indeed a bug?