Using dch to increment release number without a suffix?
Solution 1:
To release 1.0.0-2
you need to use the -U
option, see dch
man page:
--upstream, -U
Don't append distro-name1 to the version on a derived
distribution. Increment the Debian version.
Initial debian/changelog
:
foo (1.0.0-1) trusty; urgency=medium
* Initial release
-- Sylvain Pineau <[email protected]> Thu, 16 Jul 2015 14:53:54 +0200
After dch -U
:
foo (1.0.0-2) UNRELEASED; urgency=medium
*
-- Sylvain Pineau <[email protected]> Thu, 16 Jul 2015 18:06:24 +0200
foo (1.0.0-1) trusty; urgency=medium
* Initial release
-- Sylvain Pineau <[email protected]> Thu, 16 Jul 2015 14:53:54 +0200