#coding=UTF-8 from BuildDemos import demos import argparse parser = argparse.ArgumentParser(description="Build report generator") parser.add_argument("version", type=str, help="Vaadin version that was just built") parser.add_argument("deployUrl", type=str, help="Base url of the deployment server") parser.add_argument("buildResultUrl", type=str, help="URL for the build result page") args = parser.parse_args() content = """
Create milestone for next release
Closed tickets with milestone {version}
Pending-release tickets with milestone {version}
Pending-release tickets without milestone
API Diff
Release Notes
Try demos
    """.format(version=args.version) for demo in demos: content += "
  • {demoName}
  • \n".format(url=args.deployUrl, demoName=demo, version=args.version) content += """
Build result page (See test results, pin and tag build and dependencies)
""".format(url=args.buildResultUrl) f = open("result/report.html", 'w') f.write(content)