[Buildbot-devel] buildbot, git, and tags

Dan Kegel dank at kegel.com
Sat Nov 17 15:47:41 UTC 2012


On Sat, Nov 17, 2012 at 7:02 AM, Dustin J. Mitchell <dustin at v.igoro.us> wrote:
> On Thu, Nov 15, 2012 at 5:44 PM, Dan Kegel <dank at kegel.com> wrote:
>> But hang on, I don't want to hard code the tag name in
>> the factory.  Anyone know how I can retrieve the branch name
>> from the build in a buildstep, so I can construct a shell command
>> to check out that tag?
>
> Sure, Interpolate("... %(src::branch)s ...")

Wow, thanks.

For the moment I'm going low-tech and just having one Factory per builder,
but that clue may come in handy later.




More information about the devel mailing list