pvc/build-stable-deb.sh

11 lines
308 B
Bash
Raw Normal View History

2023-10-17 10:35:38 -04:00
#!/usr/bin/env bash
pushd $( git rev-parse --show-toplevel ) &>/dev/null
2020-02-15 23:24:22 -05:00
ver="$( head -1 debian/changelog | awk -F'[()-]' '{ print $2 }' )"
2018-06-17 15:39:54 -04:00
git pull
rm ../pvc_*
find . -name "__pycache__" -exec rm -r {} \;
2018-06-17 15:42:22 -04:00
dh_make -p pvc_${ver} --createorig --single --yes
2018-06-17 15:39:54 -04:00
dpkg-buildpackage -us -uc
dh_clean
popd &>/dev/null