[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)
This commit is contained in:
parent
21625f57a7
commit
bb47ced474
|
|
@ -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…
Reference in New Issue