A Global Build Number

If I have a top-level project that triggers other dependency project builds, is it possible to access the build number of the top-level project, or somehow have a global build number? I would like to include a build number from the top-level component build in the source tag that I apply to it and all of its dependencies. This would make it much easier to track the source code for the subcomponents that went into a top-level component later.

Mark.

0
3 comments

I think this could be done via plugin only.

--
Pavel Sher

0
Avatar
Permanently deleted user

You could use the plugin source I wrote from the samples, modify it only to issue a new build number when the first project runs.

Cheers,
Orn



Attachment(s):
uniquebuildnumber.zip
0
Avatar
Permanently deleted user

Cool - thanks, guys. Orn - I'll take a look at the plugin source.

M.

0

Please sign in to leave a comment.