libguestfs/bump-and-build.sh

11 lines
202 B
Bash
Raw Normal View History

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