freedomofpress / securedrop-builder

Packaging logic for building SecureDrop-related Debian packages
GNU General Public License v3.0
7 stars 11 forks source link

The Debian build script outputs incorrect log messages when using PKG_PATH option #426

Closed zenmonkeykstop closed 1 year ago

zenmonkeykstop commented 1 year ago

The scripts/build-debianpackage script can be used in two ways:

In recent builds, it came to light that even if it was invoked with PKG_PATH, the script will still set PKG_VERSION using the latest tag and either fail if that tag is not production-signed, or just use PKG_VERSION erroneously in messages instead of the actual version as pulled from the changelog.

This causes confusion, and delay.