Apologies for not answering your specific question, but... Don't do that!
Externalize your configuration and produce a single binary for all environments. Your build and deploy processes will be simpler and quicker. On Aug 11, 2010, at 10:07 AM, Simon Lin <noise...@gmail.com> wrote: > Hi, > > I wonder what's the best practice to publish artifacts for different > environments such as dev, QA and production. I tried to use extra > attribute. But it doesn't seem to work. Or should I just publish > to different directories on the repository? > > Thanks.