From 656b4ef8263848a38ec468288a4192bae917f502 Mon Sep 17 00:00:00 2001 From: Robert Wieczoreck <1175008+RobertWieczoreck@users.noreply.github.com> Date: Wed, 16 Aug 2023 22:34:54 +0200 Subject: Add option to fetch tags even if fetch-depth > 0 (#579) * Add option to fetch tags even if fetch-depth > 0 * Add jest tests for fetchDepth and fetchTags options --- src/git-source-settings.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/git-source-settings.ts') diff --git a/src/git-source-settings.ts b/src/git-source-settings.ts index 3272e63..9875d8d 100644 --- a/src/git-source-settings.ts +++ b/src/git-source-settings.ts @@ -44,6 +44,11 @@ export interface IGitSourceSettings { */ fetchDepth: number + /** + * Fetch tags, even if fetchDepth > 0 (default: false) + */ + fetchTags: boolean + /** * Indicates whether to fetch LFS objects */ -- cgit v1.2.3