Skip to content

DevNotes_Processeses_ReleaseAutomationScript

Wojciech Potrzebowski edited this page Jan 16, 2021 · 8 revisions

Release automation script (work in progress)

Release automation script is located in build_tools and covers following

  • Setups init and license files
  • Generates zenodo doi and writes to the init file
  • Templates release notes

Running script

  • cd SASVIEW_WORKSPACE (folder where you have both sasview and sasmodels folders)
  • create release branches in sasview and sasmodels (script will write to these folders and you probably want to make pull requests out of them)
  • Run python sasview/build_tools/release_automation.py with arguments
    • -v sasview version e.g. -v 5.0.4
    • -s sasmodels version e.g. -s 1.0.4
    • -z zenodo api key (long string not shared here obviously)
    • -u your github username (it is required for preparing release notes as otherwise github rejects if too many requests are made)
    • -p password for github user (for the same reason as above)
Clone this wiki locally