From 301b00fb2bab4bea71d19f702afd94287bb3193b Mon Sep 17 00:00:00 2001 From: Pavel White Date: Sat, 24 Oct 2020 16:13:36 +0300 Subject: [PATCH] Update config.yml --- .circleci/config.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c0ccb384..afae7d38 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -116,9 +116,7 @@ jobs: - run: name: Build artifact command: | - formats=( 'bdist_egg' ) - [[ << parameters.version >> == 'latest' ]] && formats+=( 'bdist_wheel' 'sdist' ) - pipenv run python setup.py ${formats[@]} + pipenv run python setup.py bdist_egg bdist_wheel sdist - run: name: Check artifacts command: pipenv run twine check dist/* @@ -143,9 +141,7 @@ jobs: - run: name: Build artifact command: | - formats=( 'bdist_egg' ) - (( << parameters.version >> == 'latest' )) && formats+=( 'bdist_wheel' ) - pipenv run python setup.py ${formats[@]} + pipenv run python setup.py bdist_egg bdist_wheel sdist - run: name: Upload to PyPI command: >-