Browse Source

[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 bf4b8ff0d9)
3.0.0/version-upgrade
Jiajie Zhong 2 years ago committed by Jiajie Zhong
parent
commit
bb47ced474
  1. 31
      dolphinscheduler-python/pom.xml

31
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>

Loading…
Cancel
Save