code: def prepare_release(ver=None):
      
      write_changelog(True)
      if ver is None:
          ver = next_release()
      print('saving updates to ChangeLog')
      run('git commit ChangeLog -m "[RELEASE] Update to version v{}"'.format(ver), hide=True)
      sha = run('git log -1 --pretty=format:"%h"', hide=True).stdout
      run('git tag -a "{ver}" -m "version {ver}" {sha}'.format(ver=ver, sha=sha), hide=True)
      package()
      write_changelog()
      run('git tag -d {}'.format(ver), hide=True)
      run('git commit --all --amend --no-edit', hide=True)
docs: Prepare release artifacts