Hi maybe you could use this labeller http://confluence.public.thoughtworks.org/display/CCNET/Assembly+Version+Labeller
<labeller type="assemblyVersionLabeller"> <major>1</major> <minor>2</minor> <incrementOnFailure>false</incrementOnFailure> </labeller> this should work with kind regards Ruben Willems On Mon, Mar 22, 2010 at 12:44 PM, Essl, Markus <[email protected]>wrote: > Hello! > > > > I use as label the program version and the svn version – and have a > BuildPublisher, which copies the installation files to a sub directory. Now > if I do a force build or rebuild, the label does not change. But the > generated files do (they contain the build date, for example). The build > publisher then overwrites the results in that directory. > > > > It would be great if the Build Publisher supported a property that allows > to adds a number to the label sub directory, if that directory already > exists. > > > > (Something like that, although I am not sure if that would be really > correct) > > > > if (UseLabelSubDirectory) > > { > > If(AddLastChangeNumber) { > > pubDir = pubDir.CreateSubDirectory(string.Format(“{0}.{1}”, > result.label, result. LastChangeNumber); > > }else { > > pubDir = pubDir.CreateSubdirectory(result.Label); > > } > > } > > > > Markus Essl > Abteilungsleiter Softwareentwicklung > > > > [image: cid:[email protected]] > > bit Gruppe - best in Training > > Die erste Adresse für Wissen und Bildung > > Kaerntner Strasse 311 > A-8054 Graz > Tel. +43 (0) 316 / 28 66 60 - 799 > > Fax. +43 (0) 316 / 28 66 60 - 50** > > *mailto:[email protected] <[email protected]>*** > > http://www.bit.at <http://www.bitonline.cc/> > > > > > bit schulungscenter Nfg GmbH & Co KG | Kärntner Straße 311, 8054 Graz | FN > 264297 y | ATU61831566 | Gerichtsstand Graz > bit management Beratung GesmbH | Kärntner Straße 311, 8054 Graz | FN > 147857m | ATU58011225 | Gerichtsstand Graz > bit media e-learning solution GmbH & Co KG | Kärntner Straße 311, 8054 Graz > | FN 195426d | ATU49978207 | Gerichtsstand Wien > Unternehmensberatung bit consulting GmbH | Kärntner Straße 311, 8054 Graz | > FN 196369d | ATU49853109 | Gerichtsstand Graz > > To unsubscribe from this group, send email to ccnet-user+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- To unsubscribe, reply using "remove me" as the subject.
<<image001.jpg>>
