I'm trying to copy the artifacts from a build to another directory and this is working. However, I would like one of the files to be renamed and wondered if this is possible? My current attempt was to create an artifact path like this:
+:www/Web.config.test => c:\website\Web.config
The idea is to copy the entire "www" artifact folder to "c:\website", EXCLUDING the web.config and any files named Web.config.*, INCLUDE Web.config.test but output to Web.config. There will then be a similar build for Web.config.live for the live version of the site.
If this isn't possible, can I specify that a build step runs after the artifacts are copied? That way I can just script it, though it seems that the build steps run before this point?
The project doesn't currently have any build steps - it just depends on another project that builds successfully.
Hope that makes sense!
Thanks in advance,
[Using TeamCity 7.0.3 (build 21424)]