This is an automated email from the ASF dual-hosted git repository. zhongjiajie pushed a commit to branch 3.0.0-beta-prepare in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
commit bb47ced47440c271f023ae6b4881bde5438dc620 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 (cherry picked from commit bf4b8ff0d98990a46dbc7adac01164c515b13ad3) --- dolphinscheduler-python/pom.xml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/dolphinscheduler-python/pom.xml b/dolphinscheduler-python/pom.xml index 749c767e87..1a740fbd9d 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>
