This is an automated email from the ASF dual-hosted git repository.
zhongjiajie pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new bf4b8ff0d9 [python] Change distribute name avoid confusion with main
pkg (#10134)
bf4b8ff0d9 is described below
commit bf4b8ff0d98990a46dbc7adac01164c515b13ad3
Author: Jiajie Zhong <[email protected]>
AuthorDate: Thu May 19 20:27:38 2022 +0800
[python] Change distribute name avoid confusion with main pkg (#10134)
rename them and add `python` suffix in the end
close: #9121
---
dolphinscheduler-python/pom.xml | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/dolphinscheduler-python/pom.xml b/dolphinscheduler-python/pom.xml
index a4426a74df..410180e847 100644
--- a/dolphinscheduler-python/pom.xml
+++ b/dolphinscheduler-python/pom.xml
@@ -92,6 +92,37 @@
</arguments>
</configuration>
</execution>
+ <!-- Rename Python dist package to avoid confusion
with dolphinscheduler main package -->
+ <execution>
+ <id>python-pkg-rename-tar</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <configuration>
+ <executable>bash</executable>
+
<workingDirectory>${project.basedir}/pydolphinscheduler</workingDirectory>
+ <arguments>
+ <argument>-c</argument>
+ <argument>mv
dist/apache-dolphinscheduler-*.tar.gz
dist/apache-dolphinscheduler-python-${project.version}.tar.gz</argument>
+ </arguments>
+ </configuration>
+ </execution>
+ <execution>
+ <id>python-pkg-rename-whl</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <configuration>
+ <executable>bash</executable>
+
<workingDirectory>${project.basedir}/pydolphinscheduler</workingDirectory>
+ <arguments>
+ <argument>-c</argument>
+ <argument>mv
dist/apache_dolphinscheduler-*py3-none-any.whl
dist/apache_dolphinscheduler-python-${project.version}-py3-none-any.whl</argument>
+ </arguments>
+ </configuration>
+ </execution>
<execution>
<id>sign-source</id>
<phase>prepare-package</phase>