Skip to content

Commit 9edea62

Browse files
committed
Change CircleCI cache name to hash setup.py
1 parent 0409e1c commit 9edea62

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ jobs:
2626
steps:
2727
- checkout
2828
- restore_cache: # ensure this step occurs *before* installing dependencies
29-
key: v2_0_0-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
29+
key: v2-dependency-cache-{{ .Branch }}-{{ checksum "setup.py" }}-{{ checksum "Pipfile.lock" }}
3030
- run:
3131
command: |
3232
sudo pip install pipenv
3333
pipenv install
3434
- save_cache:
35-
key: v2_0_0-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
35+
key: v2-dependency-cache-{{ .Branch }}-{{ checksum "setup.py" }}-{{ checksum "Pipfile.lock" }}
3636
paths:
3737
- ".venv"
3838
- "/usr/local/bin"
@@ -50,13 +50,13 @@ jobs:
5050
steps:
5151
- checkout
5252
- restore_cache: # ensure this step occurs *before* installing dependencies
53-
key: v2_0_0-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
53+
key: v2-dependency-cache-{{ .Branch }}-{{ checksum "setup.py" }}-{{ checksum "Pipfile.lock" }}
5454
- run:
5555
command: |
5656
sudo pip install pipenv
5757
pipenv install
5858
- save_cache:
59-
key: v2_0_0-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
59+
key: v2-dependency-cache-{{ .Branch }}-{{ checksum "setup.py" }}-{{ checksum "Pipfile.lock" }}
6060
paths:
6161
- ".venv"
6262
- "/usr/local/bin"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
cwd = os.path.abspath(os.path.dirname(__file__))
1313

14-
VERSION = "2.0.1"
14+
VERSION = "2.0.2"
1515

1616
with open('README.md', 'r', encoding='utf-8') as f:
1717
__readme__ = f.read()

0 commit comments

Comments
 (0)