tito/test
Michael Stead 61c996977b Can now specify a build target for fedora and distgit releasers
Tito only supported the default build target when releasing,
however, in some cases it was necessisary to change it (building
for zstream for example).

By default, the build target is the same as the branch. With this
change, you can specify a build target on a per branch basis by
adding a 'build_targets' property in the releasers.conf file.

This property takes on the following format:
   build_targets = <branch>:<build_target> <branch>:<build_target> ...

An example configuration could be:

[project-x.y.z]
releaser = tito.release.DistGitReleaser
branches = project-x.y
build_targets = project-x.y:project-x.y.z-candidate

Running:
    tito release project-x.y.z

would instruct the build system to build with the target
'project-x.y.z-candidate' when building from the project-x.y
branch (i.e rhpkg build --no-wait --target project-x.y.z-candidate).
2012-06-20 15:17:09 -03:00
..
functional PEP8 cleanup 2011-12-05 14:37:07 -05:00
unit Can now specify a build target for fedora and distgit releasers 2012-06-20 15:17:09 -03:00