Skip to content
Snippets Groups Projects
  • Simon McVittie's avatar
    cba31202
    CI: Build the source package (.dsc) separately · cba31202
    Simon McVittie authored
    
    If we run deb-build-snapshot more than once in different container
    environments, they can produce different source packages or even
    different version numbers (because `git describe` does not guarantee
    to emit any specific number of hex digits in the abbreviated sha1).
    Ensure that all our builds are consistent by using deb-build-snapshot
    to create a single source package (.dsc), and then doing all other
    package builds from that .dsc rather than from git.
    
    Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
    cba31202
    History
    CI: Build the source package (.dsc) separately
    Simon McVittie authored
    
    If we run deb-build-snapshot more than once in different container
    environments, they can produce different source packages or even
    different version numbers (because `git describe` does not guarantee
    to emit any specific number of hex digits in the abbreviated sha1).
    Ensure that all our builds are consistent by using deb-build-snapshot
    to create a single source package (.dsc), and then doing all other
    package builds from that .dsc rather than from git.
    
    Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>