]> source.dussan.org Git - vaadin-framework.git/commitdiff
Update release publishing scripts (#9947)
authorHenri Sara <henri.sara@gmail.com>
Fri, 8 Sep 2017 12:54:48 +0000 (15:54 +0300)
committerGitHub <noreply@github.com>
Fri, 8 Sep 2017 12:54:48 +0000 (15:54 +0300)
* 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.

scripts/GeneratePostPublishReport.py
scripts/GeneratePublishReportPart1.py

index 4ebcbfd626f84672584761e9ee57c57fe3efd887..4b11daf7542c938dd5b9be2a31a61d5ee889f278 100644 (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>"
 
index b6d3cc55c382481e2a32a83001226758fea9b89d..37b2f8e4090a808ca9063799b8eab33553d3920b 100644 (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>