Open 2rs2ts opened 3 years ago
Sounds useful. Can you make a PR?
I've never written rust before in my life, so while I would be glad to open a PR, you may end up waiting a very long time for me to get around to it
If you're interested in trying Rust, I recommend giving it a shot. You can start by copy-pasting existing version option. Appending a suffix can be done with format!(). If you want to remove any old suffix, that may need some wrangling with str.rsplitn or such.
--deb-version
lets me override the version string, so I use this to build multiple versions of my deb for different versions of Debian (stretch, buster, etc.)However, this flag replaces the entire version string, meaning I have to manually re-specify the whole thing every time (or write a script to do it.)
It would be great to just be able to override the revision field instead. Something like this:
I am sure there are use cases for this besides supporting different versions of Debian, but that's just the one I'm dealing with right now.