Skip to content

Commit

Permalink
Merge pull request #9 from powerapi-ng/revert-8-master
Browse files Browse the repository at this point in the history
Revert "fix: fix circleci config"
  • Loading branch information
gfieni authored Jun 14, 2019
2 parents 6e7ab8f + 7849065 commit 7424db4
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7424db4

Please sign in to comment.