-
Notifications
You must be signed in to change notification settings - Fork 132
Creating a Release
henry senyondo edited this page Apr 21, 2019
·
29 revisions
-
Run the tests. Seriously, do it now.
-
In
__init__.py
in master- Update the version number (if it hasn't already been bumped)
-
Run
python version.py
(this will updateversion.txt
) -
Update the version number in
retriever_installer.iss
(if it hasn't already been bumped) -
Update
CHANGES.md
with major updates since last release -
Commit changes
- Confirm that you have version updated in
retriever/_version.py
,retriever_installer.iss
,setup.py
,version.txt
- Confirm that you have version updated in
-
Add a tag with appropriate version number, e.g. ,
git tag -a v1.8.0 -m "Version 1.8.0"
-
Push the release commit and the tag
git push upstream master git push upstream --tags
- Run the tests (unless you just ran them on the same machine)
- Checkout master
- Run
bash build.sh
- Run the tests. This helps makes sure that the build environment is properly set up.
- Checkout master
- Run
build_win
- Run the tests. This helps makes sure that the build environment is properly set up.
- Checkout master
- Run
bash build_mac
. This creates a folder called "mac" with two files; retriever.app and retriever.zip - Install the retriever for verification. Reference http://www.ecodataretriever.org/download.html
- sudo python setup.py sdist upload
- Bump the version numbers in
retriever/_version.py
,retriever_installer.iss
,setup.py
,version.txt
andretriever_installer.iss