diff --git a/dist/index.js b/dist/index.js
index b0db713..10949f2 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -656,6 +656,9 @@ class GitCommandManager {
             if (!refSpec.some(x => x === refHelper.tagsRefSpec) && !options.fetchTags) {
                 args.push('--no-tags');
             }
+            else if (options.fetchTags) {
+                args.push('--tags');
+            }
             args.push('--prune', '--no-recurse-submodules');
             if (options.showProgress) {
                 args.push('--progress');