Hi
I'm trying to use the File Labeller, but I think there is a bug. I'm
setting allowDuplicateSubsequentLabels = false, but no version number
is appended to create a unique label.

I'm using CC.Net 1.4.4.83

Here's my code:
    <labeller type="fileLabeller">
      <labelFilePath>version-code.txt</labelFilePath>
      <prefix>1.0.</prefix>
      <allowDuplicateSubsequentLabels>false</
allowDuplicateSubsequentLabels>
    </labeller>

The resulting CCNetLabel gets built correctly from the "version-
code.txt" file and the defined prefix - but no version number is
appended. For example, if the value in the "version-code.txt" file is
"1234", the CCNetLabel becomes:
"1.0.1234"
not, "1.0.1234.1"

So, I get a file exists error anytime I force a build.

Am I missing a parameter to tell CC.Net to append the version number?

thanks
Michael

Reply via email to