Browse Source

Update release publishing scripts (#9947)

* Remove version from URL in publish script. Otherwise, Chrome can cache the failure too aggressively.
* Move mention of creating new milestone to earlier report.
* Add mention of preparing release notes earlier.
tags/8.2.0.alpha2
Henri Sara 6 years ago
parent
commit
60c8578acc
2 changed files with 7 additions and 7 deletions
  1. 1
    4
      scripts/GeneratePostPublishReport.py
  2. 6
    3
      scripts/GeneratePublishReportPart1.py

+ 1
- 4
scripts/GeneratePostPublishReport.py View File

@@ -53,9 +53,6 @@ if prerelease:
content += createTableRow("", "Optionally check that <a href=\"http://vaadin.com/download/maven-archetypes.xml\">old Eclipse metadata</a> still refers to Vaadin 7")
content += createTableRow("", "Note that archetype metadata checks do not verify that the relevant sections are not commented out when changing from pre-release to stable and back!")

# GitHub milestones
content += createTableRow("", "<a href=\"https://github.com/vaadin/framework/milestones\">Create new milestone in GitHub</a>")

content += createTableRow("", "Build and deploy new sampler if necessary")

# Inform marketing and PO
@@ -65,7 +62,7 @@ content += createTableRow("", "Inform marketing and PO about the release")
content += createTableRow("", "<a href=\"http://{}/admin/editProject.html?projectId={}&tab=projectParams\">Update vaadin.version.latest and vaadin.version.next parameters in TeamCity</a>".format(args.teamcityUrl, args.projectId))

# Link to GH release notes
content += createTableRow("", "<a href=\"https://github.com/vaadin/framework/releases/new\">Write release notes in GH</a>")
content += createTableRow("", "<a href=\"https://github.com/vaadin/framework/releases\">Finish and publish release notes in GH</a>")

content += "</table></body></html>"


+ 6
- 3
scripts/GeneratePublishReportPart1.py View File

@@ -71,10 +71,10 @@ content = """<html>

mavenUrl = ""
if not prerelease:
mavenUrl = "http://repo1.maven.org/maven2/com/vaadin/vaadin-server/{ver}".format(ver=args.version)
mavenUrl = "http://repo1.maven.org/maven2/com/vaadin/vaadin-server/"
content += "<tr><td></td><td><a href='{mvnUrl}'>Check {ver} is published to maven.org (might take a while)</td></tr>".format(ver=args.version, mvnUrl=mavenUrl)
else:
mavenUrl = "http://maven.vaadin.com/vaadin-prereleases/com/vaadin/vaadin-server/{ver}".format(ver=args.version)
mavenUrl = "http://maven.vaadin.com/vaadin-prereleases/com/vaadin/vaadin-server/"
content += "<tr><td></td><td><a href='{mvnUrl}'>Check {ver} is published as prerelease to maven.vaadin.com</td></tr>".format(ver=args.version, mvnUrl=mavenUrl)

content += "<tr><td></td><td><a href=\"https://github.com/vaadin/framework/milestones\">Create milestone for next version in GitHub</a></td></tr>"
@@ -89,7 +89,10 @@ if not prerelease:
content += "<tr><td></td><td>Run the generated tag_repositories.sh script</td></tr>"

# close GitHub milestone
content += "<tr><td></td><td><a href=\"https://github.com/vaadin/framework/milestones\">Close GitHub Milestone</a></td></tr>"
content += "<tr><td></td><td><a href=\"https://github.com/vaadin/framework/milestones\">Close GitHub Milestone and create one for next version</a></td></tr>"

# release notes
content += "<tr><td></td><td><a href=\"https://github.com/vaadin/framework/releases/new\">Prepare release notes in GH</a></td></tr>"

content += """
<tr><td></td><td><a href="http://{teamcityUrl}/viewLog.html?buildId={buildId}&buildTypeId={buildTypeId}&tab=dependencies"><h2>Start Post-Publish Release from dependencies tab</a></td></tr>

Loading…
Cancel
Save