|  | @@ -38,7 +38,7 @@ function setupGit() {
 | 
	
		
			
			| 38 | 38 |  function calcNewVersion() {
 | 
	
		
			
			| 39 | 39 |    const packageVersion = semver.clean(process.env.npm_package_version);
 | 
	
		
			
			| 40 | 40 |    console.log(`package version: ${packageVersion}`);
 | 
	
		
			
			| 41 |  | -  exec.execSync(`git fetch`);
 | 
	
		
			
			|  | 41 | +  exec.execSync(`git fetch --unshallow`);
 | 
	
		
			
			| 42 | 42 |    const commitCount = exec.execSyncRead(`git rev-list --count ${ONLY_ON_BRANCH}`);
 | 
	
		
			
			| 43 | 43 |    console.log(`commits in ${ONLY_ON_BRANCH}: ${commitCount}`);
 | 
	
		
			
			| 44 | 44 |    return `${semver.major(packageVersion)}.${semver.minor(packageVersion)}.${commitCount}`;
 |