You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wireguide/packaging_scripts/reprepro.sh

14 lines
455 B

#!/usr/bin/env bash
# Version of wireguide
VERSION=$(awk -F '"' '/self.version =/ {print $2}' ~/sources/wireguide/src/wireguide)
# Where i keep the sources
cd ~/sources
# Build deb
dpkg-buildpackage -us -uc
# Add binary and source to repo
reprepro --basedir ~/sources/debian includedeb unstable ~/sources/wireguide_${VERSION}_all.deb
reprepro --basedir ~/sources/debian -S net --priority optional includedsc unstable ~/sources/wireguide_${VERSION}.dsc