Skip to content

Commit

Permalink
Revert "fix: fix circleci config"
Browse files Browse the repository at this point in the history
  • Loading branch information
gfieni authored Jun 14, 2019
1 parent 6e7ab8f commit 7849065
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 7849065

Please sign in to comment.