Add support to auto-increment revisions (bump_revision.sh) and to auto-upgrade ports (update_version.sh).