docs: def bitbucket(branch: str):
      """
      Performs necessary checks to ensure that the bitbucket build is one
      that should create releases.
  
      :param branch: The branch the environment should be running against.
      """
      assert os.environ.get('BITBUCKET_BRANCH') == branch
      assert not os.environ.get('BITBUCKET_PR_ID')