Commit 7ccc84ce authored by Vermeeren's avatar Vermeeren

readme: rewrite bumping package version section

parent 36b5c7d6
......@@ -138,19 +138,24 @@ it to use change sources in-tree and run `dpkg-source --commit`.
### Bumping the package version
Use `dch` to bump the version when you are ready, write a proper changelog. For
this repository, always add the `~verm` suffix to mark this package as inferior.
In the example below if the official package `1.0.18-2.1` would be released,
automatic upgrade will occur. It should be noted that official debian packages
never use the "non-maintainer-upload" version numbers, so instead of
`1.0.18-2.1` they would likely upload `1.0.18-3` or similar.
this repository, always add the `~verm+N` suffix to mark this package as
inferior. Besides that, pretend you are managing the official Debian repos.
Main repos format is ``1.0-1~verm+N``. Update format is
``1.0-1+deb10u1~verm+N``. Backports format is ``1.0-1~bpo10+1~verm+N``
Always check that if Debian itself would release an update it will compare
superior to the version is this repository. So instead of releasing a second
update as ``deb10u2~verm+1`` you would instead update as ``deb10u1~verm+2``.
This way is Debian releases the official ``deb10u1`` automatic upgrade will
occur. See also section *Submitting patches upstream*.
```
plasma-applet-redshift-control (1.0.18-2.1~verm) buster; urgency=medium
plasma-applet-redshift-control (1.0.18-2+deb10u1~verm+1) buster-updates; urgency=medium
* Non-maintainer upload.
* Fix manual mode for redshift >= 1.12.
[ Melvin Vermeeren ]
* debian/patches: fix manual mode for redshift >= 1.12 (closes: #910901)
-- Melvin Vermeeren <mail@mel.vin> Thu, 22 Aug 2019 15:40:08 +0200
-- Melvin Vermeeren <mail@mel.vin> Sat, 24 Aug 2019 01:23:30 +0200
```
If needed also update NEWS by running `dch --news`. NEWS shows in the terminal
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment