When I am testing my deployment scripts on my dev machine, the nuget package is always version 22.214.171.124. However, when deploying a new version of the nuget package, sometimes an older version that has previously been deployed gets deployed again.
For example, the download step looks like this in the build log
Download package Bluewire.Epro.Web 126.96.36.199 from NuGet feed: Local Epro
2012-09-20 16:18:05 INFO Downloading NuGet package Bluewire.Epro.Web 188.8.131.52 from feed: 'C:\dev\epronew\Web\bin’
2012-09-20 16:18:05 DEBUG Downloaded packages will be stored in: D:\Octopus\Data\PackageCache
2012-09-20 16:18:05 DEBUG Finding package (attempt 1 of 5)
2012-09-20 16:18:06 DEBUG Found package Bluewire.Epro.Web version 184.108.40.206
2012-09-20 16:18:06 DEBUG Downloading to: D:\Octopus\Data\PackageCache\Bluewire.Epro.Web.220.127.116.11_59D186652E7ACA4C9CD674A355F312B1.nupkg
2012-09-20 16:18:07 DEBUG SHA1 hash is: d58a901b0b7b52756c167ae1f9a54ddc8935c66f
2012-09-20 16:18:07 INFO Download complete.
but then when it comes to the deployment I get
2012-09-20 16:18:29 DEBUG Found installed package with matching hash: D:\Octopus\Applications.Tentacle\Packages\Bluewire.Epro.Web.18.104.22.168_0877F2B5D1D2D54ABD7E03C58351F68A.nupkg
which is a different package with different deployment scripts