# Git Tag<no value>
// <!-- Required for asciidoctor -->
:toc:
// Set toclevels to be at least your hugo [markup.tableOfContents.endLevel] config key
:toclevels: 4

[cols="1^,1^,1^",options=header]
|===
| source | condition | target
| &#10004; | &#10004; | &#10004;
|===

**source**

The Git Tag "source" retrieves the latest git Tag matching a pattern.

**condition**

The Git Tag "condition" tests if git Tag matching a pattern exist.

**target**

The Git Tag "target" ensures a git Tag matching a pattern exist otherwise it creates it.

== Parameter

The gittag resource is a resource designed to be used with the scmID

{{< resourceparameters "sources" "gittag" >}}


=== Version Filter

include::content/en/docs/plugins/_versionFilter.adoc[]

== Example

[source,yaml]
----
# updatecli.yaml
{{<include "assets/code_example/docs/plugins/resources/gittag/updatecli.yaml">}}
----

