While preparing the package for upload to Focal, I chose the following versioning schema:
1.15.2+ds1-0ubuntu1~20.04.1
The reason is because telegraf on Groovy's universe is currently at 1.15.2+ds1-0ubuntu1. Adding "~20.04.1" to the version guarantees that when updating the package from Focal to Groovy will work.
While preparing the package for upload to Focal, I chose the following versioning schema:
1.15.2+ ds1-0ubuntu1~ 20.04.1
The reason is because telegraf on Groovy's universe is currently at 1.15.2+ ds1-0ubuntu1. Adding "~20.04.1" to the version guarantees that when updating the package from Focal to Groovy will work.
$ dpkg --compare-versions 1.15.2+ds1-0ubuntu1 gt 1.15.2+ ds1-0ubuntu1~ 20.04.1
$ echo $?
0