I'm building my software into a deb package using the standard devscripts, and I would like to use
dch to automatically increment the release number for non-source code changes (i.e. packaging changes and patches), as it is common in Linux distributions.
For example: the source release is
1.0.0 and I'm packaging the software as
1.0.0-1 (the first packaged release of version 1.0.0). Now I discovered a bug in the packaging (for example, a configuration file was not marked as such), so I want to release package version
Initially I though that
dch -i is ideal for this, but apparently it increments from
1.0.0-1ubuntu1 :-( . I've looked hard into what other command line options I can use, but all I could find was options to use a different suffix (e.g.
--rebuild will add
Mush I edit the release number manually every time?