Octopus Deploy not picking the latest version of the nuget package

When I run the build manually from the Octopus server the build works fine. When I try to run it from the TeamCity it always run the same old version. The build is configured to run according to the instruction. I have another project that runs successfully. Ideas?

Just to add, at some point the deployment was created that used the specific version. Now, It seems as if the configuration remembered that version and is executing automated builds against that version.

I’m seeing this too.

It associates the next eldest nuget package (not the newest one) with the release.

Any ideas?

My problem was that other build was created with higher build number. Deployment was always picking that package and not the one just created. I think this is a bug. The workaround was to make your current build use highest build number.