Add support for building 'nightly' and 'release' packages