The following instructions will walk you through making a release of the
SIFT application and python library. These instructions assume that you
already have the SIFT git repository cloned from GitHub and that the
origin
git remote is pointing to the ssec/sift
repository. Instructions
must be adjusted if origin
points to your fork of the sift
repository.
-
Make sure you are on the master branch (
git checkout master
) -
Pull the most recent changes (
git pull
) -
Run any necessary tests. For basic dependency checks
python sift -h
should suffice. -
Run
loghub
and update theCHANGELOG.md
file. Ifloghub
is not installed, do so by runningpip install loghub
.loghub ssec/sift --token $LOGHUB_GITHUB_TOKEN -st <previous_version_tag> -plg bug "Bugs fixed" -plg enhancement "Features added" -plg documentation "Documentation changes" -plg backwards-incompatibility "Backwards incompatible changes"
-
Commit the changelog changes.
-
Bump the version of the package:
python setup.py bump --new-version 1.0.5 -c -t
See semver.org on how to write a version number.
-
Push changes to github
git push --follow-tags
-
Create a release of the package on github by drafting a new release and copying the release notes from the changelog (see above).