diff options
author | Linn Crosetto <linn@hpe.com> | 2016-09-21 15:59:00 -0600 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-10-02 19:35:58 +0200 |
commit | c1b32fa62ee252e4cffb92a64b162ad8f98ca27a (patch) | |
tree | 5564638f5f942c00504f5abd0218390288670a96 /tests/component/rpm/test_rpm_ch.py | |
parent | f87c21c517a1353424c06d3b1ff7b405bcb9a0a6 (diff) |
dch: avoid adding section in snapshot mode if distribution is UNRELEASED
When using git-dch in snapshot mode, a section is added without checking
whether the distribution is set to UNRELEASED. If the distribution is
UNRELEASED, the version will be incremented but a new section will not be
added, resulting in a skipped version in the changelog.
Change this behavior to add a new section in snapshot mode only if the
distribution is not set to UNRELEASED.
Signed-off-by: Linn Crosetto <linn@hpe.com>
Closes: #838714
Diffstat (limited to 'tests/component/rpm/test_rpm_ch.py')
0 files changed, 0 insertions, 0 deletions