Embedding Build information in debian package

23 Views Asked by At

I am building a debian package for an internal project.

I want to include information like git remote and git rev-parse HEAD in the debian package I build.

I also want to capture additional metadata like JIRA url etc.

What is correct way to do it. For now I copy output of those commands and save it in the file GIT-VERSION and package this file.

0

There are 0 best solutions below