twine upload command
@@ -9,30 +9,27 @@ jobs:
- image: circleci/python:3.7.1
working_directory: ~/repo
steps:
- - checkout
-
+ - attach_workspace:
+ at: /tmp/workspace
# Download and cache dependencies
- restore_cache:
keys:
- v3-dependencies-twine
-
- run:
name: install dependencies
command: |
python3 -m venv venv
. venv/bin/activate
pip install twine pip==19
-
- save_cache:
paths:
- ./venv
key: v3-dependencies-poetry
-
- run:
name: build release
command: |
. venv/bin/activate
- twine --help
+ twine upload /tmp/workspace/dist/*
test-release:
docker:
- image: circleci/python:3.7.1
