Allow overriding build_type.

This is useful for testing the various publishing tasks on branches
other than master/beta/stable.
Merge pull request #74 from rjackson/allow_overriding_build_type

Allow overriding build_type.