This is an automated email from the ASF dual-hosted git repository.

mbuenger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-parent.git


The following commit(s) were added to refs/heads/master by this push:
     new 23aaceb  Use `v@{project.version}` as tag template for releases
23aaceb is described below

commit 23aaceb2a85669cd3bfbfd7380691ea1e2f0221a
Author: Slawomir Jaranowski <s.jaranow...@gmail.com>
AuthorDate: Fri Mar 14 14:32:14 2025 +0100

    Use `v@{project.version}` as tag template for releases
---
 .github/release-drafter.yml | 2 +-
 pom.xml                     | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml
index b328757..96a5866 100644
--- a/.github/release-drafter.yml
+++ b/.github/release-drafter.yml
@@ -20,4 +20,4 @@
 _extends: maven-gh-actions-shared
 version-template: '$MAJOR'
 name-template: '$NEXT_MAJOR_VERSION'
-tag-template: 'maven-parent-$NEXT_MAJOR_VERSION'
+tag-template: 'v$NEXT_MAJOR_VERSION'
diff --git a/pom.xml b/pom.xml
index 6fcfa04..10a69cf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1129,6 +1129,13 @@ under the License.</licenseText>
             </excludeRoots>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-release-plugin</artifactId>
+          <configuration>
+            <tagNameFormat>v@{project.version}</tagNameFormat>
+          </configuration>
+        </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-toolchains-plugin</artifactId>

Reply via email to