with util.ChangeDirectory(options.test_dir):
shell.call("./%s-install-test.sh" % av.application.name, addenv={'WIZARD_NO_COMMIT': '1'}, stdout=sys.stdout, stderr=sys.stderr)
with util.ChangeDirectory("testdir_%s_install_head" % av.application.name):
+ shell.call("git", "stash")
+ shell.call("git", "stash", "apply")
shell.call("wizard", "prepare-config")
if shell.eval("git", "ls-files", "--modified").strip():
print
print "Don't forget to make the %s tag when you're done" % av.wizard_tag
print "Check %s for more details" % os.getcwd()
sys.exit(1)
+ shell.call("git", "stash", "apply") # so that uninstalls work
shell.call("git", "tag", av.wizard_tag)
def parse_args(argv, baton):