-
Notifications
You must be signed in to change notification settings - Fork 314
Preparing a release
These notes describe how to build and publish a release of IAB, and how to upload the content to readIAB.org.
-
Ensure that the Travis build is passing on the master branch.
-
Update version number in
setup.py
. The version numbering in IAB is PEP 440 compliant. -
Submit a pull request with these changes and let Travis run.
-
Install build-iab if you don't already have it installed.
-
From the top-level
An-Introduction-to-Applied-Bioinformatics
directory, build the html and IPython Notebooks with the following commands. Poke through these files to ensure that they look right, and that the Edit links work correctly.biab html -i book -o html biab notebook -i book -o ipynb
-
If Travis passes, and if the build notebooks look correct, merge the pull request you created in Part 1. This will trigger the website build system to run, and will put this release version in the
book/latest
folder on S3. -
From the An Introduction to Applied Bioinformatics GitHub page, click on the
release
link and draft a new release. Use the version number for the tag name and create the tag against master. Fill in a release title that is consistent with previous release titles and add a summary of the release. This release summary will be the primary information that you should point users to when announcing the release.
-
In the readiab.org S3 bucket, copy the
book/latest
directory tobook/<version>
, where<version>
is the version number of IAB that you just released. -
Update all version numbers in
index.html
to point to the new release version. We only maintain links to the latest release version and the current development version.
-
Update the version strings to indicate the development release number. This should be
<version>.dev0
, where<version>
is the next planned release. For example, if you just released version0.1.3
, this should probably be0.1.4.dev0
. -
Submit a pull request with these changes. Let the Travis build run, and if the tests pass merge the pull request. This will trigger the website build system to run, and will put this development version in the
book/latest
folder on S3. -
Announce the release pointing to the release notes on GitHub.
-
🍻
These notes were developed based on scikit-bio's RELEASE.md.