Search code examples
ubuntuubuntu-14.04deb

Build deb package version with command line option


Newbie to build deb package. I've a build script to generate packages for Ubuntu. Version number is there in changelog. I'd like to automate the process of building deb packages without touching changelog using a version file and the file consists of only version number something like 1.0.0.

How can I pass the version number to debuild command?

   debuild --no-lintian --preserve-envvar=PATH --check-dirname-level 0 --no-tgz-check -uc -us

Solution

  • The general idea is, that a new version of a debian package is determined by a changelog entry. Adding the entry can be automated using the dch helper script.