miracle-wm/tools/publish-ppa.sh
Matthew Kosarek 87b442f617 packaging: debian upload with instructions on how to release for jammy, mantic, and noble (#47)
- A working `debian` folder that I can use to upload to a ppa on launchpad
- Instructions on how to upload new builds. These instructions are very manual at the moment, but there exists another task to make this manual. I would prefer to do it manually for v0.2 at least.
2024-03-18 18:21:17 -04:00

14 lines
270 B
Bash
Executable File

if (( $# < 2 )); then
echo "Usage: ./publish-ppa.sh <NEW_VERSION> <DISTRO>"
exit 1
fi
version=$1
distro=$2
dir=$(dirname $0)
cd $dir/..
rm -rf build
debuild -S -sd
cd $dir/../..
dput ppa:matthew-kosarek/miracle-wm miracle-wm_${version}-${distro}_source.changes