#coding=UTF-8 import argparse, cgi from os.path import exists, isdir from os import makedirs parser = argparse.ArgumentParser(description="Post-publish report generator") parser.add_argument("version", type=str, help="Vaadin version that was just built") parser.add_argument("buildResultUrl", type=str, help="URL for the build result page") args = parser.parse_args() resultPath = "result" if not exists(resultPath): makedirs(resultPath) elif not isdir(resultPath): print("Result path is not a directory.") sys.exit(1) (major, minor, maintenance) = args.version.split(".", 2) prerelease = "." in maintenance if prerelease: maintenance = maintenance.split('.')[0] content = """
Check {ver} is published to vaadin.com/download |
Check {ver} is published to maven.org (might take a while) |
Check {ver} is published as prerelease to vaadin.com/download |
Check {ver} is published as prerelease to maven.vaadin.com |
Verify Latest Vaadin 7: |
Verify Vaadin 7 Version List: |
Verify Latest Vaadin 7.5: |
Verify Latest Vaadin 7.6: |
Verify Latest Vaadin 6: |
Verify Latest Vaadin 7 Prerelease: |
Set latest version to default |
Verify uploaded to test.vaadin.com |
Verify tags pushed to GitHub |
Verify API version list updated |
Batch update tickets in Trac |
Publish result page (See test results, pin and tag build and dependencies) |