diff options
author | Zhe Sun <31067185+ZheSun88@users.noreply.github.com> | 2021-10-15 18:04:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-15 18:04:54 +0300 |
commit | 9ef5665b9cbf498396dbf70c94fb4d05b4eea34c (patch) | |
tree | 9b352919eaec8767f073ef656c9f9bbab3a253be /scripts/GeneratePostPublishReport.py | |
parent | b3b2eb503da52f52613203a98d3e3675ae5062e4 (diff) | |
download | vaadin-framework-9ef5665b9cbf498396dbf70c94fb4d05b4eea34c.tar.gz vaadin-framework-9ef5665b9cbf498396dbf70c94fb4d05b4eea34c.zip |
align the python script for releasing with 8.14 (#12437)
Also update the failed build checking.
Diffstat (limited to 'scripts/GeneratePostPublishReport.py')
-rw-r--r-- | scripts/GeneratePostPublishReport.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/GeneratePostPublishReport.py b/scripts/GeneratePostPublishReport.py index 4b11daf754..12ed7cf883 100644 --- a/scripts/GeneratePostPublishReport.py +++ b/scripts/GeneratePostPublishReport.py @@ -33,7 +33,7 @@ def checkArchetypeMetaData(archetypeMetadataUrl, version): if archetype_metadata_request.status_code != 200: return createTableRow(traffic_light.format(color="black"), "Check archetype metadata: <a href='{url}'>unable to retrieve metadata from {url}</a>".format(url=archetypeMetadataUrl)) else: - if "version=\"{version}\"".format(version=version) in archetype_metadata_request.content: + if "version=\"{version}\"".format(version=version) in archetype_metadata_request.text: return createTableRow(traffic_light.format(color="green"), "Check archetype metadata: <a href='{url}'>metadata is correct for {url}</a>".format(url=archetypeMetadataUrl)) else: return createTableRow(traffic_light.format(color="red"), "Check archetype metadata: <a href='{url}'>metadata seems to be incorrect for {url}</a>".format(url=archetypeMetadataUrl)) @@ -66,5 +66,5 @@ content += createTableRow("", "<a href=\"https://github.com/vaadin/framework/rel content += "</table></body></html>" -with open("result/report.html", "wb") as f: +with open("result/report.html", "w") as f: f.write(content) |