Last modified by Eduard Moraru on 2019/06/07 18:56

From version 1.1 >
edited by Thomas Mortagne
on 2019/06/05 11:19
To version < 2.2 >
edited by Vincent Massol
on 2019/06/06 13:27
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.ThomasMortagne
1 +xwiki:XWiki.VincentMassol
Content
... ... @@ -15,6 +15,19 @@
15 15  #set ($isFinal = !$isRC && !$isMilestone)
16 16  #set ($isFirstFinal = $versionParts.size() == 2 && $isFinal)
17 17  #set ($isBugfix = ($versionParts.size() == 3))
18 +#macro (findPreviousRCReleaseDate $major $resultVariableName)
19 + #set ($xwql = "select rp.releaseDate from Document doc, doc.object(ReleasePlans.ReleasePlanClass) as rp where rp.version like :versionPattern and rp.releaseDate is not null order by rp.releaseDate desc")
20 + #set ($query = $services.query.xwql($xwql).bindValue('versionPattern', "${major}.%-rc-%"))
21 + #set ($results = $query.execute())
22 + #if ($results.size() > 0)
23 + #setVariable($resultVariableName $results[0])
24 + #end
25 +#end
26 +#findPreviousRCReleaseDate($major, "previousRCReleaseDate")
27 +#if ("$!previousRCReleaseDate" == '')
28 + ## No previous RC version or first release of a cycle, find data for the last RC of the previous cycle (major)
29 + #previousReleaseDate($mathtool.sub($major, 1), "previousRCReleaseDate")
30 +#end
18 18  
19 19  {{info}}
20 20  Use these icons to mark the release progress: (x) not done, (/) done, (!) not done for a good reason (explain reason)
... ... @@ -22,6 +22,7 @@
22 22  
23 23  * (x) Verify that no tests are failing [[on the CI Server>>http://ci.xwiki.org]] (or that failures are understood, see [[known flickering tests>>https://jira.xwiki.org/issues/?filter=14240]]).
24 24  * (x) [[Verify>>ReleasePlans.ReleasePlanHelp||anchor="HInitialBackwardCompatibilityCheck"]] that the {{scm project="xwiki-commons" path="pom.xml"}}${escapetool.H}${escapetool.H}xwiki-commons${escapetool.H}${escapetool.H}'s top level POM{{/scm}} has a ${escapetool.H}${escapetool.H}xwiki.compatibility.previous.version${escapetool.H}${escapetool.H} property correctly pointing to the latest stable (non-milestone) release and if not, change it.
38 +* (x) Verify that there are [[no JIRA issues with commits for this branch>>https://jira.xwiki.org/issues/?jql=category%20%3D%2010000%20and%20resolution%20%3D%20Unresolved%20and%20issue.property%5Bdevelopment%5D.commits%20%3E%200%20and%20updated%20%3E%20%22$datetool.format('yyyy-MM-dd', $previousRCReleaseDate)%22]] and that are not closed
25 25  * Make sure next version exists on [[jira>>https://jira.xwiki.org]] projects (JIRA releases are done automatically in the build):
26 26  ** (x) [[Commons JIRA>>https://jira.xwiki.org/plugins/servlet/project-config/XCOMMONS/versions]]
27 27  ** (x) [[Rendering JIRA>>https://jira.xwiki.org/plugins/servlet/project-config/XRENDERING/versions]]

Get Connected