Hello,
I have a website I am getting ready to deploy with Octopus. The website consists of an ASP.NET website, plus a set of generated JavaScript and CSS files that currently live under the website root. The building and packaging occurs on TeamCity. At deploy time, the JavaScript and CSS need to be copied to a CDN (which is referenced via rewrite rules in IIS).
My current design is to build two packages from the TeamCity build, one for the website, and one for the JavaScript/CSS. This way they share versions, and so we can identify exactly what CDN package goes with what website package. At deploy time, the two packages get copied to their respective locations (IIS or CDN).
The problem that I have is that I want to peg the version of the website and the CDN to the same version. So when someone goes to create a release, they pick the version of the website package, and the CDN package will have the same version. Otherwise we could get into a situation where a release contains an incompatible version of the website/CDN content. Is this possible?
Thanks!
Erick