From 109f5f985dc65172f6392285cd0b239bd0b43fff Mon Sep 17 00:00:00 2001 From: Russell Wheatley Date: Wed, 6 Mar 2024 10:14:47 +0000 Subject: [PATCH] fix: use `git pull --tags` instead of `git fetch --tags` (#468) Co-authored-by: Lukas Klingsbo --- packages/melos/lib/src/common/git.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/melos/lib/src/common/git.dart b/packages/melos/lib/src/common/git.dart index e06e062e2..825d003ac 100644 --- a/packages/melos/lib/src/common/git.dart +++ b/packages/melos/lib/src/common/git.dart @@ -229,7 +229,7 @@ Future gitFetchTags({ required MelosLogger logger, }) async { await gitExecuteCommand( - arguments: ['fetch', '--tags'], + arguments: ['pull', '--tags'], workingDirectory: workingDirectory, logger: logger, );