Commit fcf15d7e authored by Olav Morken's avatar Olav Morken
Browse files Automatically detect distros

Instead of listing each distribution, check what distributions we have
packages for in the output directory and upload those.
parent 5d132892
......@@ -15,13 +15,13 @@ apt-get install -y openssh-client
# Upload the Debian packages
ssh mkdir -p \
/www/ \
scp output/bullseye/radsecproxy*.deb \
scp output/buster/radsecproxy*.deb \
for distro_dir in ./output/*; do
distro="$(basename "${distro_dir}")"
echo "Uploading packages for ${distro}"
ssh mkdir -p "${target_dir}"
scp "${distro_dir}"/radsecproxy*.deb "${target_dir}/"
# Update the repository metadata
echo "Updating APT repository metadata"
ssh /www/
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