Skip to content

Commit

Permalink
circle: Ensure correct 0.1.0 tag is used
Browse files Browse the repository at this point in the history
Since we didn't get the 0.1.0 release "right" with the first tag, it
was deleted and re-created. As discussed in [1], this is a problem
with CircleCI because the "Rebuild without cache" does not clear
the source cache.

This commit implement the suggested workaround.

[1] https://discuss.circleci.com/t/clearing-the-source-cache/2771
  • Loading branch information
jcfr committed Nov 9, 2016
1 parent 889e3d3 commit 0b124e2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ dependencies:
- ci_addons docker load-pull-save dockcross/manylinux-x64
- ci_addons docker load-pull-save dockcross/manylinux-x86

checkout:
post:
# See https://discuss.circleci.com/t/clearing-the-source-cache/2771
- git tag -d 0.1.0 || true
- git fetch origin tag 0.1.0 || true

test:
override:
- circleci-matrix:
Expand Down

0 comments on commit 0b124e2

Please sign in to comment.