mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 12:12:47 +00:00
![]() 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). |
||
---|---|---|
.. | ||
functional | ||
unit |