CDash:Tagging: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
To release a new CDash (let's say revision 1.2) please follow the current steps:
* get list of authors to acknowledge
  git log --format="%an" <previous release>..HEAD | sort -u
* get list of PRs merged since last release and use that to craft release notes
* merge release branch into master (and don't delete it afterwards)
* create an annonated tag and push it to origin
  git tag -a vx.y.0 -m "CDash vx.y.0"
  git push origin vx.y.0
* go to GitHub, find the tag, make it a release and publish it (with notes / acknowledgements from above)
* manually build/push docker image
  docker build -t kitware/cdash:vx.y.0 .
  docker push kitware/cdash:vx.y.0


# Tag/Branch the current trunk repository with Release-1-2-0 (this is the main release)
* email CDash mailing list to announce the new release
# Update the version in the file cdash/version.php to 1.2.0
# Tag/Branch the current trunk repository with Release-1-2 (this is the branch release)
# Update the version in the file cdash/version.php to 1.2.1
# Update the version in the trunk cdash/version.php to 1.3.0
# In the trunk change the file javascript/cdashUpgrade.js and add the following lines:


  else if(version < 1.4)
* update CDash sites we maintain to run the new release
    {
    nextstep = upgrade_1_4;
    }
 
and
 
  function upgrade_1_4()
    {
    var text = "Applying 1.4 patches";
    $("#Upgrade-1-4-Status").html("<img src=\"images/loading.gif\"/> "+text+"...");
    sendAjax("#Upgrade-1-4-Status","upgrade.php?upgrade-1-4=1",text,done); 
    }
 
# In upgrade.xsl add:
  <nowiki><div id="Upgrade-1-4-Status"></div></nowiki>
 
# In upgrade.php add:
 
  <nowiki>// 1.4 Upgrade
  if(isset($_GET['upgrade-1-4']))
    { 
    // Set the database version
    setVersion();
 
    // Put that the upgrade is done in the log
    add_log("Upgrade done.","upgrade-1-4");
    return;
    }</nowiki>
 
* Upgrade the change log:
  http://public.kitware.com/Wiki/CDash:Upgrade#Change_logs
 
* Create new version in Mantis:
 
  http://www.cdash.org/Bug

Latest revision as of 18:02, 31 March 2022

  • get list of authors to acknowledge
 git log --format="%an" <previous release>..HEAD | sort -u
  • get list of PRs merged since last release and use that to craft release notes
  • merge release branch into master (and don't delete it afterwards)
  • create an annonated tag and push it to origin
 git tag -a vx.y.0 -m "CDash vx.y.0"
 git push origin vx.y.0
  • go to GitHub, find the tag, make it a release and publish it (with notes / acknowledgements from above)
  • manually build/push docker image
 docker build -t kitware/cdash:vx.y.0 .
 docker push kitware/cdash:vx.y.0
  • email CDash mailing list to announce the new release
  • update CDash sites we maintain to run the new release