carthorse:
  version-from: setup.py
  tag-format: "{version}"
  when:
    - version-not-tagged
  actions:
    - run: "sudo pip install -e .[build]"
    - run: "twine upload -u carthorse-mock -p $PYPI_PASS dist/*"
    - create-tag
