Commit f411a1ae authored by Olav Morken's avatar Olav Morken
Browse files

Copy generated package files in

Instead of repeating the commands to copy the Debian package files in
each build job, we can add the copy to ``.

This also makes it easier to run the build locally, and will make it
simpler to build the packages from a temporary working directory.
parent ce032e48
......@@ -11,8 +11,6 @@ build-debian-bullseye:
- output
- ./
- mkdir output/bullseye
- cp -v *.deb output/bullseye/
stage: build
......@@ -23,8 +21,6 @@ build-debian-buster:
- output
- ./
- mkdir output/buster
- cp -v *.deb output/buster/
stage: deploy
......@@ -9,5 +9,5 @@ Edit **** and set the desired version number for Radsecproxy.
To build the packages locally, run:
docker run --rm -ti -v "$(pwd -P):/work" debian:bullseye /bin/sh -c 'cd /work && ./ && mkdir -p output && cp *.deb output/'
docker run --rm -ti -v "$(pwd -P):/work" debian:bullseye /bin/sh -c 'cd /work && ./'
......@@ -70,3 +70,8 @@ cat changelog > "${package}-${version}/debian/changelog"
cd "${package}-${version}/"
cd "${here}"
# Copy the generated Debian packages to the output directory.
mkdir -p "${output_dir}"
cp -pv ./*.deb "${output_dir}/"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment