Skip to content

Commit

Permalink
Merge pull request #8 from altor/master
Browse files Browse the repository at this point in the history
fix: fix circleci config
  • Loading branch information
altor authored Jun 14, 2019
2 parents 196b46f + 82ad192 commit 6e7ab8f
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,17 @@ 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 6e7ab8f

Please sign in to comment.