diff --git a/src/modules/package-downloader.ts b/src/modules/package-downloader.ts index 5f62533..0b1b42b 100644 --- a/src/modules/package-downloader.ts +++ b/src/modules/package-downloader.ts @@ -34,7 +34,7 @@ export class PackageDownloader { const localRepoExists = await this.git.checkIsRepo(checkRepoAction); if (localRepoExists) { - await this.git.fetch(['--all']); + await this.git.fetch(['--force', '--tags', '--prune', '--prune-tags']); } else { await this.git.clone(this.packageConfig.getPackageRepo(), packageDir, cloneOpts); }