diff --git a/.circleci/config.yml b/.circleci/config.yml index 416e6b27a..cd7e14403 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -74,15 +74,14 @@ jobs: - checkout: path: /home/circleci/src/CuBIDS - run: - name: Generate distribution archives - command: | - python3 -m pip install --upgrade build - python3 -m build + name: Update build tools + command: pip install --upgrade build twine - run: - name: Upload packages to PyPI - command: | - python3 -m pip install --upgrade twine - python3 -m twine upload dist/* + name: Build CuBIDS + command: python -m build + - run: + name: Upload package to PyPI + command: python -m twine upload -u __token__ -p ${PYPI_TOKEN} dist/cubids* workflows: version: 2