We have a software project, which we release as a debian package. The project has a debian/ folder which contains files like changelog compat control copyright rules
. We're creating debian packages with the command:
dpkg-buildpackage -us -uc -b --changes-option=-u./dist
which prints a stream of output. What we need to know, for the next step of the process, is the name of the .deb file created.
I know that debians have a predictable filename structure like [package name]_[version]_[architecture].deb
but I don't have a way to get these parameters anyway.
There must be another dpkg command that can generate the would-be package name just from looking in the debian folder?