From cd130dc6c45bf3f84236fae55fd9911a2783e568 Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Mon, 7 Aug 2017 10:11:26 +0300 Subject: Fix publish and post-publish report scripts (#9778) Add support for stable 8.1.x releases. --- scripts/GeneratePostPublishReport.py | 3 ++- scripts/GeneratePublishReportPart1.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/GeneratePostPublishReport.py b/scripts/GeneratePostPublishReport.py index c496debb61..bc19185b5c 100644 --- a/scripts/GeneratePostPublishReport.py +++ b/scripts/GeneratePostPublishReport.py @@ -37,9 +37,10 @@ content += createTableRow(getTrafficLight(tagOk), "Tag ok on github.com") content += createTableRow("", "Tag and pin build".format(url=buildResultUrl)) # Traffic light for archetype metadata +# TODO check all three metadata files, based on pre-release or not archetypeMetadataUrl = "" if not prerelease: - archetypeMetadataUrl = "http://vaadin.com/download/maven-archetypes.xml" + archetypeMetadataUrl = "http://vaadin.com/download/eclipse-maven-archetypes.xml" else: archetypeMetadataUrl ="http://vaadin.com/download/maven-archetypes-prerelease.xml" diff --git a/scripts/GeneratePublishReportPart1.py b/scripts/GeneratePublishReportPart1.py index ef6cb330dc..ec510a95be 100644 --- a/scripts/GeneratePublishReportPart1.py +++ b/scripts/GeneratePublishReportPart1.py @@ -14,7 +14,8 @@ metadataChecks = { 'https://vaadin.com/download/VERSIONS_7': '^7\..*', 'https://vaadin.com/download/release/7.7/LATEST': '^7\..*', 'https://vaadin.com/download/LATEST': '^6\..*', - 'https://vaadin.com/download/PRERELEASES': '^{ver}' + 'https://vaadin.com/download/LATEST8': '^{ver}' + # 'https://vaadin.com/download/PRERELEASES': '^{ver}' } parser = argparse.ArgumentParser(description="Post-publish report generator") -- cgit v1.2.3