[Buildbot-devel] Build step to update AssemblyInfo.cs files?
shoelzer at gmail.com
Mon Jan 6 23:19:19 UTC 2014
C# projects usually have a file named "AssemblyInfo.cs" that contains
important metadata such as version numbers, product names, company
name, etc. I would like to have a build step update some of that
information prior to a build.
First off, does anything like that already exist? If so, I couldn't find it.
Assuming I'm breaking new ground now, I will have to write my own
build step. I can do the file updates in a Python function. After
reading docs and browsing code, I think I can subclass
LoggingBuildStep and implement start() to run my Python function as a
RemoteCommand. Is that a reasonable way to do things?
More information about the devel