2018-06-17 15:39:54 -04:00
|
|
|
#!/bin/sh
|
2021-11-06 03:16:02 -04:00
|
|
|
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_*
|
2021-08-21 03:19:18 -04:00
|
|
|
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
|
2021-11-06 03:16:02 -04:00
|
|
|
popd &>/dev/null
|