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

kirs pushed a commit to branch 1.3.6-release
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git


The following commit(s) were added to refs/heads/1.3.6-release by this push:
     new 41b565c  fix release plugin err
41b565c is described below

commit 41b565cc50d2602c0daf5b2674cbdc98c7775414
Author: CalvinKirs <[email protected]>
AuthorDate: Fri Mar 19 11:34:56 2021 +0800

    fix release plugin err
---
 pom.xml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index 1fd0deb..0755b59 100644
--- a/pom.xml
+++ b/pom.xml
@@ -55,7 +55,6 @@
     </parent>
 
     <properties>
-        <revision>1.3.6-SNAPSHOT</revision>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
         <curator.version>4.3.0</curator.version>
@@ -119,6 +118,7 @@
         <swagger.version>1.9.3</swagger.version>
         <springfox.version>2.9.2</springfox.version>
         <skywalking.version>8.4.0</skywalking.version>
+        <revision>1.3.6-SNAPSHOT</revision>
     </properties>
 
     <dependencyManagement>
@@ -591,7 +591,7 @@
                     <artifactId>maven-release-plugin</artifactId>
                     <version>${maven-release-plugin.version}</version>
                     <configuration>
-                        <tagNameFormat>@{project.version}</tagNameFormat>
+                        <tagNameFormat>@{revision}</tagNameFormat>
                     </configuration>
                 </plugin>
 
@@ -667,8 +667,10 @@
                 <version>${maven-release-plugin.version}</version>
                 <configuration>
                     <autoVersionSubmodules>true</autoVersionSubmodules>
-                    <tagNameFormat>@{project.version}</tagNameFormat>
+                    <useReleaseProfile>false</useReleaseProfile>
+                    <releaseProfiles>release</releaseProfiles>
                     <tagBase>${project.version}</tagBase>
+                    <arguments>${arguments}</arguments>
                     <!--<goals>-f pom.xml deploy</goals>-->
                 </configuration>
                 <dependencies>

Reply via email to