From 784906583241e48ed7286ff1ac52a1783e5f7622 Mon Sep 17 00:00:00 2001 From: Guillaume Fieni Date: Fri, 14 Jun 2019 12:55:31 +0200 Subject: [PATCH] Revert "fix: fix circleci config" --- .circleci/config.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 97d3b64..fc1fa9d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,17 +8,18 @@ jobs: steps: - checkout - - run: - name: check git tag with package version - command: | - test $(grep version rapl_formula/__init__.py | sed 's/\__version__ = "\(.*\)\"/\1/') == $CIRCLE_TAG - - run: name: prepare environment command: | python3 -m venv venv . venv/bin/activate pip3 install -U pip twine + pip3 install . + + - run: + name: check git tag with package version + command: | + python3 -c "import os, rapl_formula; exit(os.environ.get('CIRCLE_TAG', '?')[1:] != rapl_formula.__version__)" - run: name: init .pypirc