libguestfs/bump-and-build.sh

11 lines
200 B
Bash
Executable File

#!/bin/sh -
set -e
rpmdev-bumpspec -c "- Bump and rebuild." libguestfs.spec
git diff ||:
echo "Press ENTER to commit, push and rebuild."
read line
rhpkg commit -m "Bump and rebuild." -p
rhpkg build