donau

Donation authority for GNU Taler (experimental)
Log | Files | Refs | Submodules | README | LICENSE

job.sh (662B)


      1 #!/bin/bash
      2 set -exuo pipefail
      3 # This file is in the public domain.
      4 # Helper script to build the latest DEB packages in the container.
      5 
      6 unset LD_LIBRARY_PATH
      7 
      8 
      9 git apply ./ci/jobs/2-deb-package/install-fix.patch
     10 
     11 # Get current version from debian/control file.
     12 DEB_VERSION=$(dpkg-parsechangelog -S Version)
     13 
     14 # Install build-time dependencies.
     15 mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control
     16 
     17 # We do a sparse checkout, so we need to hint
     18 # the version to the build system.
     19 echo $DEB_VERSION > .version
     20 ./bootstrap
     21 dpkg-buildpackage -rfakeroot -b -uc -us
     22 
     23 ls ../*.deb
     24 mv ../*.deb /artifacts/