浏览代码

fix: include package_desc.md when building packages

Joao Andre 10 月之前
父节点
当前提交
a69130a22a

+ 3 - 0
.github/workflows/build-and-release-single-package.yml

@@ -154,6 +154,9 @@ jobs:
         working-directory: ${{ steps.set-variables.outputs.package_dir }}
         run: |
           python setup.py build_py && python -m build
+
+      - name: Rename files
+        run: |
           for file in ./dist/*; do mv "$file" "${file//_/-}"; done
 
       - name: Create tag and release

+ 2 - 0
.github/workflows/build-and-release.yml

@@ -152,6 +152,7 @@ jobs:
         working-directory: ${{ steps.set-variables.outputs.package_dir }}
         run: |
           python setup.py build_py && python -m build
+          for file in ./dist/*; do mv "$file" "${file//_/-}"; done
 
       - name: Create tag and release
         working-directory: ${{ steps.set-variables.outputs.package_dir }}
@@ -212,6 +213,7 @@ jobs:
       - name: Build Taipy package
         run: |
           python setup.py build_py && python -m build
+          for file in ./dist/*; do mv "$file" "${file//_/-}"; done
 
       - name: Create tag and release Taipy
         run: |

+ 1 - 0
tools/packages/taipy-config/MANIFEST.in

@@ -2,3 +2,4 @@ include taipy/config/*.pyi
 include taipy/config/*.json
 include *.json
 include taipy/config/setup.requirements.txt
+include package_desc.md

+ 1 - 0
tools/packages/taipy-core/MANIFEST.in

@@ -2,3 +2,4 @@ include taipy/core/*.json
 include taipy/core/config/*.json
 include *.json
 include taipy/core/setup.requirements.txt
+include package_desc.md

+ 1 - 0
tools/packages/taipy-gui/MANIFEST.in

@@ -4,3 +4,4 @@ include taipy/gui/viselements.json
 include taipy/gui/*.pyi
 include *.json
 include taipy/gui/setup.requirements.txt
+include package_desc.md

+ 1 - 0
tools/packages/taipy-rest/MANIFEST.in

@@ -1,3 +1,4 @@
 include taipy/rest/*.json
 include *.json
 include taipy/rest/setup.requirements.txt
+include package_desc.md

+ 1 - 0
tools/packages/taipy-templates/MANIFEST.in

@@ -1,3 +1,4 @@
 recursive-include taipy/templates *
 include *.json
 include taipy/templates/setup.requirements.txt
+include package_desc.md

+ 1 - 0
tools/packages/taipy/MANIFEST.in

@@ -26,3 +26,4 @@ include taipy/rest/*.json
 recursive-include taipy/templates *
 
 include setup.requirements.txt
+include package_desc.md