Handle release candidates when generating custom APT sources
Release candidates version numbers (in debian/changelog) do not match the Git tag name: 0.12~rc1 vs. 0.12-rc1. So we need to convert `~` in version_was_released(). We also need to convert the version to the corresponding suite name, using the same rules as branch names.
Showing with 16 additions and 2 deletions