Skip to content

Drafting a lstMCpipe release

Thomas Vuillaume edited this page Dec 12, 2022 · 3 revisions
  1. Draft a release in GitHub and generate the release notes
    • this should help you determine if there are API breaks, thus requiring a major bump in the version number
  2. If this is a major release update, you should probably run the mini test prod on the cluster:
    python lstmcpipe/scripts/generate_test_lapalma.py allsky --working_dir /fefs/aswg/workspace/thomas.vuillaume/data/mc/
    lstmcpipe -c test_AllSky_yyyy-mm-dd.yaml -conf_lst  lstchain_config.json
    
  3. Update CodeMeta for the version number through a pull-request
    • this will also update CITATION.cff if need
    • merge the PR
  4. Make the release
  5. Check if the new version in Zenodo is fine
  6. Manually upload to PyPi
python setup.py sdist
twine upload dist/lstmcpipe-ver.tar.gz
Clone this wiki locally