Skip to content

Commit 97153cc

Browse files
committed
fix twine check commands
1 parent de105d6 commit 97153cc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.circleci/config.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ jobs:
3737
cd /tmp/src/templateflow
3838
echo "${CIRCLE_TAG}" > templateflow/VERSION
3939
echo "include templateflow/VERSION" >> MANIFEST.in
40-
twine check
40+
python setup.py sdist
41+
twine check dist/*
4142
4243
- save_cache:
4344
key: deps-v1-{{ .Branch }}-{{ checksum "/tmp/src/templateflow/requirements.txt"}}
@@ -54,7 +55,7 @@ jobs:
5455

5556
- restore_cache:
5657
key: deps-v1-{{ .Branch }}-{{ checksum "/tmp/src/templateflow/requirements.txt"}}
57-
58+
5859
- run:
5960
name: Deploy to PyPi
6061
command: |
@@ -63,8 +64,8 @@ jobs:
6364
pip install "setuptools>=27.0" twine
6465
echo "${CIRCLE_TAG}" > templateflow/VERSION
6566
echo "include templateflow/VERSION" >> MANIFEST.in
66-
twine check
6767
python setup.py sdist
68+
twine check dist/*
6869
twine upload dist/*
6970
7071
workflows:

0 commit comments

Comments
 (0)