Skip to content
henry senyondo edited this page Apr 21, 2019 · 29 revisions

Start

  1. Run the tests. Seriously, do it now.

  2. In __init__.py in master

    1. Update the version number (if it hasn't already been bumped)
  3. Run python version.py (this will update version.txt)

  4. Update the version number in retriever_installer.iss (if it hasn't already been bumped)

  5. Update CHANGES.md with major updates since last release

  6. Commit changes

    1. Confirm that you have version updated in retriever/_version.py, retriever_installer.iss, setup.py, version.txt
  7. Add a tag with appropriate version number, e.g. ,git tag -a v1.8.0 -m "Version 1.8.0"

  8. Push the release commit and the tag

    git push upstream master
    git push upstream --tags
    

Linux

  1. Run the tests (unless you just ran them on the same machine)
  2. Checkout master
  3. Run bash build.sh

Windows

  1. Run the tests. This helps makes sure that the build environment is properly set up.
  2. Checkout master
  3. Run build_win

Mac

  1. Run the tests. This helps makes sure that the build environment is properly set up.
  2. Checkout master
  3. Run bash build_mac. This creates a folder called "mac" with two files; retriever.app and retriever.zip
  4. Install the retriever for verification. Reference http://www.ecodataretriever.org/download.html

Pypi

  1. sudo python setup.py sdist upload

Cleanup

  1. Bump the version numbers in retriever/_version.py, retriever_installer.iss, setup.py, version.txt and retriever_installer.iss