def bump(self):
        if len(sys.argv) >= 3:
            print >>sys.stderr, "Error: bump requires a version to bump to"
            sys.exit(1)

        bump_version = sys.argv[2]
        self.package["version"] = bump_version

        setup_json = json.dumps(self.package,
            separators = (',', ': '),
            indent = 4)

        open("setup.json", "w").write(setup_json)
        message = "bump to version %s" % bump_version

        self.run("git", "add", "setup.json")

        # TODO -- full path is needed for execv, detect this
        git = "/usr/bin/git"
        os.execv(git, (git, "commit", "-v", "-m", message, "-e"))
dataset/ETHPy150Open marshall/logcat-color/release.py/ReleaseCommand.bump/operator `<` -> `>=`