Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.7 KB

update_castxml_version.rst

File metadata and controls

44 lines (32 loc) · 1.7 KB

Updating the CastXML version

A developer should use the following steps to update the version X.Y.Z of CastXML associated with the current CastXML python distributions.

Available CastXML archives can be found here.

  1. Install girder-client:

    $ pip install girder-client
    
  2. Execute scripts/update_castxml_version.py command line tool with the desired X.Y.Z CastXML version available for download. For example:

    $ release=0.4.5
    $ python scripts/update_castxml_version.py ${release}
    
    Collecting URLs and SHAs from 'https://data.kitware.com/#folder/57b5de948d777f10f2696370'
    Collecting URLs and SHAs from 'https://data.kitware.com/#folder/57b5de948d777f10f2696370' - done
    Updating 'CastXMLUrls.cmake' with CastXML version 0.4.5
    Updating 'CastXMLUrls.cmake' with CastXML version 0.4.5 - done
    Updating README.md
    Updating README.md - done
    Updating docs/update_castxml_version.rst
    Updating docs/update_castxml_version.rst - done
    Updating tests/test_distribution.py
    Updating tests/test_distribution.py - done
    
  3. Create a topic named update-to-castxml-X.Y.Z and commit the changes. For example:

    release=0.4.5
    git checkout -b update-to-castxml-${release}
    git add CastXMLUrls.cmake README.md docs/update_castxml_version.rst tests/test_distribution.py
    git commit -m "Update to CastXML ${release}"
    
  4. Create a Pull Request.

  5. If all CI tests are passing, merge the topic and consider making a new release.