Skip to content

Commit 23aaceb

Browse files
Use v@{project.version} as tag template for releases
1 parent f59436b commit 23aaceb

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
_extends: maven-gh-actions-shared
2121
version-template: '$MAJOR'
2222
name-template: '$NEXT_MAJOR_VERSION'
23-
tag-template: 'maven-parent-$NEXT_MAJOR_VERSION'
23+
tag-template: 'v$NEXT_MAJOR_VERSION'

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,6 +1129,13 @@ under the License.</licenseText>
11291129
</excludeRoots>
11301130
</configuration>
11311131
</plugin>
1132+
<plugin>
1133+
<groupId>org.apache.maven.plugins</groupId>
1134+
<artifactId>maven-release-plugin</artifactId>
1135+
<configuration>
1136+
<tagNameFormat>v@{project.version}</tagNameFormat>
1137+
</configuration>
1138+
</plugin>
11321139
<plugin>
11331140
<groupId>org.apache.maven.plugins</groupId>
11341141
<artifactId>maven-toolchains-plugin</artifactId>

0 commit comments

Comments
 (0)