Browse Source

[python] Change distribute name avoid confusion with main pkg (#10134)

rename them and add `python` suffix in the end
close: #9121
3.1.0-release
Jiajie Zhong 3 years ago committed by GitHub
parent
commit
bf4b8ff0d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 31
      dolphinscheduler-python/pom.xml

31
dolphinscheduler-python/pom.xml

@ -92,6 +92,37 @@
</arguments> </arguments>
</configuration> </configuration>
</execution> </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> <execution>
<id>sign-source</id> <id>sign-source</id>
<phase>prepare-package</phase> <phase>prepare-package</phase>

Loading…
Cancel
Save