@@ -176,6 +176,7 @@ commit-message-incrementing: Enabled
176176ignore:
177177 paths: []
178178 sha: []
179+ tags: []
179180increment: Inherit
180181is-main-branch: false
181182is-release-branch: false
@@ -210,7 +211,7 @@ update-build-number: true
210211version-bump-reset-message: "=semver:"
211212version-in-branch-pattern: "(?<version>[vV]?\\ d+(\\ .\\ d+)?(\\ .\\ d+)?).*"
212213` ` `
213- <sup><a href='/docs/workflows/GitFlow/v1.yml#L1-L168 ' title='Snippet source file'>snippet source</a> | <a href='#snippet-/docs/workflows/GitFlow/v1.yml' title='Start of snippet'>anchor</a></sup>
214+ <sup><a href='/docs/workflows/GitFlow/v1.yml#L1-L169 ' title='Snippet source file'>snippet source</a> | <a href='#snippet-/docs/workflows/GitFlow/v1.yml' title='Start of snippet'>anchor</a></sup>
214215<!-- endSnippet -->
215216
216217The supported built-in configuration for the `GitHubFlow` workflow (`workflow : GitHubFlow/v1`) looks like:
@@ -302,6 +303,7 @@ commit-message-incrementing: Enabled
302303ignore:
303304 paths: []
304305 sha: []
306+ tags: []
305307increment: Inherit
306308is-main-branch: false
307309is-release-branch: false
@@ -336,7 +338,7 @@ update-build-number: true
336338version-bump-reset-message: "=semver:"
337339version-in-branch-pattern: "(?<version>[vV]?\\ d+(\\ .\\ d+)?(\\ .\\ d+)?).*"
338340` ` `
339- <sup><a href='/docs/workflows/GitHubFlow/v1.yml#L1-L117 ' title='Snippet source file'>snippet source</a> | <a href='#snippet-/docs/workflows/GitHubFlow/v1.yml' title='Start of snippet'>anchor</a></sup>
341+ <sup><a href='/docs/workflows/GitHubFlow/v1.yml#L1-L118 ' title='Snippet source file'>snippet source</a> | <a href='#snippet-/docs/workflows/GitHubFlow/v1.yml' title='Start of snippet'>anchor</a></sup>
340342<!-- endSnippet -->
341343
342344The preview built-in configuration (experimental usage only) for the `TrunkBased` workflow (`workflow : TrunkBased/preview1`) looks like:
@@ -417,6 +419,7 @@ commit-message-incrementing: Enabled
417419ignore:
418420 paths: []
419421 sha: []
422+ tags: []
420423increment: Inherit
421424is-main-branch: false
422425is-release-branch: false
@@ -447,7 +450,7 @@ update-build-number: true
447450version-bump-reset-message: "=semver:"
448451version-in-branch-pattern: "(?<version>[vV]?\\ d+(\\ .\\ d+)?(\\ .\\ d+)?).*"
449452` ` `
450- <sup><a href='/docs/workflows/TrunkBased/preview1.yml#L1-L102 ' title='Snippet source file'>snippet source</a> | <a href='#snippet-/docs/workflows/TrunkBased/preview1.yml' title='Start of snippet'>anchor</a></sup>
453+ <sup><a href='/docs/workflows/TrunkBased/preview1.yml#L1-L103 ' title='Snippet source file'>snippet source</a> | <a href='#snippet-/docs/workflows/TrunkBased/preview1.yml' title='Start of snippet'>anchor</a></sup>
451454<!-- endSnippet -->
452455
453456The details of the available options are as follows :
@@ -719,6 +722,23 @@ ignore:
719722 - 764e16321318f2fdb9cdeaa56d1156a1cba307d7
720723` ` `
721724
725+ # ### tags
726+
727+ A sequence of regular expressions matching tag names that should not be used as
728+ [version sources][version-sources]. Patterns are matched case-insensitively
729+ against the friendly tag name without the `refs/tags/` prefix. Multiple patterns
730+ use OR semantics, and `^` and `$` can be used to anchor a match.
731+
732+ ` ` ` yaml
733+ ignore:
734+ tags:
735+ - ^experimental-
736+ - ^v0\.
737+ ` ` `
738+
739+ Ignoring a tag does not ignore the commit it points to. The commit remains part
740+ of version calculation and can still be reached through other references.
741+
722742# ## increment
723743
724744The part of the SemVer to increment when GitVersion detects it needs to be
0 commit comments