You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ra...@apache.org on 2021/02/07 06:24:35 UTC

[incubator-annotator] branch master updated: Fetch deep history in Travis before deploying

This is an automated email from the ASF dual-hosted git repository.

randall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git


The following commit(s) were added to refs/heads/master by this push:
     new 8e00f8d  Fetch deep history in Travis before deploying
8e00f8d is described below

commit 8e00f8d06d89c0bfe910556e7d60592d35c580e6
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Sat Feb 6 22:21:27 2021 -0800

    Fetch deep history in Travis before deploying
    
    Travis makes a shallow clone, but Lerna needs the history at least back
    to the last tag in order to figure out the canary release version. Git
    has no way to efficiently fetch only the commits since the last tag, so
    fetch them all.
---
 .travis.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.travis.yml b/.travis.yml
index 5b94e2d..857c9c9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,6 +7,7 @@ node_js:
   - "14"
 
 before_deploy:
+  - git fetch --unshallow
   - git checkout master
 
 jobs: