使用release插件提交发布插件

This commit is contained in:
hanxuanyu 2022-01-21 23:49:57 +08:00
parent cacd466bb6
commit 1e850b6a10

View File

@ -21,6 +21,7 @@
<connection>scm:git:git@git.hxuanyu.com:hxuanyu/hxuanyu-spring-boot-starter.git</connection> <connection>scm:git:git@git.hxuanyu.com:hxuanyu/hxuanyu-spring-boot-starter.git</connection>
<developerConnection>scm:git:git@git.hxuanyu.com:hxuanyu/hxuanyu-spring-boot-starter.git</developerConnection> <developerConnection>scm:git:git@git.hxuanyu.com:hxuanyu/hxuanyu-spring-boot-starter.git</developerConnection>
<url>https://git.hxuanyu.com/hxuanyu/hxuanyu-spring-boot-starter</url> <url>https://git.hxuanyu.com/hxuanyu/hxuanyu-spring-boot-starter</url>
<tag>v-release-0.0.1</tag>
</scm> </scm>
<developers> <developers>
<developer> <developer>
@ -163,8 +164,8 @@
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId> <artifactId>maven-release-plugin</artifactId>
<configuration> <configuration>
<tagBase>${project.artifactId}-${project.version}</tagBase> <tagNameFormat>release-by-maven-${project.version}</tagNameFormat>
<goals>-f pom.xml deploy</goals> <autoVersionSubmodules>true</autoVersionSubmodules>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>