Browse Source

Stop circle build failing.

Unshallow the git repository if necessary, and fetch tags.

Both of these things are useful for versioning.
pull/98/head
Chris Smith 9 years ago
parent
commit
3a140dbeea
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      circle.yml

+ 5
- 0
circle.yml View File

@@ -6,6 +6,11 @@ machine:
6 6
   environment:
7 7
     TERM: dumb
8 8
 
9
+checkout:
10
+  post:
11
+    - "if [ -e .git/shallow ]; then git fetch --unshallow; fi"
12
+    - git fetch --tags
13
+
9 14
 dependencies:
10 15
   override:
11 16
     - ./gradlew dependencies

Loading…
Cancel
Save