Alexey Udodov
Alexey Udodov

Reputation: 43

FinalBuilder: Add Build Number, Current Date, Time and Subversion revision to output executable version info

I want to set output executable InternalName something like that:

ProgramName_build_300_rev_100_201303141324.exe

where:

Upvotes: 3

Views: 608

Answers (1)

Chris
Chris

Reputation: 346

This is no problem at all in FinalBuilder. But you have to collect these information first, store it in variables and copy/rename the resulting file.

  • You can get the revision number (last changed revision) with the svn info action
  • There is an action for date/time info, with which you can get your timestamp

As a last step, rename the file, using the variables in the name, e.g. ProgamName_build_%build%rev%rev%_%timestamp%.exe

Upvotes: 1

Related Questions