@@ -72,27 +72,27 @@ jobs:
72
72
echo "package_version=${{needs.fetch-versions.outputs.config_VERSION}}" >> $GITHUB_OUTPUT
73
73
echo "package_dir=./taipy/config" >> $GITHUB_OUTPUT
74
74
echo "release_name=${{needs.fetch-versions.outputs.config_VERSION}}-config" >> $GITHUB_OUTPUT
75
- echo "tar_path=./dist/${{ github.event.repository.name }}_config -${{needs.fetch-versions.outputs.config_VERSION}}.tar.gz" >> $GITHUB_OUTPUT
75
+ echo "tar_path=./dist/${{ github.event.repository.name }}-config -${{needs.fetch-versions.outputs.config_VERSION}}.tar.gz" >> $GITHUB_OUTPUT
76
76
elif [ "${{ github.event.inputs.target_package }}" == "core" ]; then
77
77
echo "package_version=${{needs.fetch-versions.outputs.core_VERSION}}" >> $GITHUB_OUTPUT
78
78
echo "package_dir=./taipy/core" >> $GITHUB_OUTPUT
79
79
echo "release_name=${{needs.fetch-versions.outputs.core_VERSION}}-core" >> $GITHUB_OUTPUT
80
- echo "tar_path=./dist/${{ github.event.repository.name }}_core -${{needs.fetch-versions.outputs.core_VERSION}}.tar.gz" >> $GITHUB_OUTPUT
80
+ echo "tar_path=./dist/${{ github.event.repository.name }}-core -${{needs.fetch-versions.outputs.core_VERSION}}.tar.gz" >> $GITHUB_OUTPUT
81
81
elif [ "${{ github.event.inputs.target_package }}" == "gui" ]; then
82
82
echo "package_version=${{needs.fetch-versions.outputs.gui_VERSION}}" >> $GITHUB_OUTPUT
83
83
echo "package_dir=./taipy/gui" >> $GITHUB_OUTPUT
84
84
echo "release_name=${{needs.fetch-versions.outputs.gui_VERSION}}-gui" >> $GITHUB_OUTPUT
85
- echo "tar_path=./dist/${{ github.event.repository.name }}_gui -${{needs.fetch-versions.outputs.gui_VERSION}}.tar.gz" >> $GITHUB_OUTPUT
85
+ echo "tar_path=./dist/${{ github.event.repository.name }}-gui -${{needs.fetch-versions.outputs.gui_VERSION}}.tar.gz" >> $GITHUB_OUTPUT
86
86
elif [ "${{ github.event.inputs.target_package }}" == "rest" ]; then
87
87
echo "package_version=${{needs.fetch-versions.outputs.rest_VERSION}}" >> $GITHUB_OUTPUT
88
88
echo "package_dir=./taipy/rest" >> $GITHUB_OUTPUT
89
89
echo "release_name=${{needs.fetch-versions.outputs.rest_VERSION}}-rest" >> $GITHUB_OUTPUT
90
- echo "tar_path=./dist/${{ github.event.repository.name }}_rest -${{needs.fetch-versions.outputs.rest_VERSION}}.tar.gz" >> $GITHUB_OUTPUT
90
+ echo "tar_path=./dist/${{ github.event.repository.name }}-rest -${{needs.fetch-versions.outputs.rest_VERSION}}.tar.gz" >> $GITHUB_OUTPUT
91
91
elif [ "${{ github.event.inputs.target_package }}" == "templates" ]; then
92
92
echo "package_version=${{needs.fetch-versions.outputs.templates_VERSION}}" >> $GITHUB_OUTPUT
93
93
echo "package_dir=./taipy/templates" >> $GITHUB_OUTPUT
94
94
echo "release_name=${{needs.fetch-versions.outputs.templates_VERSION}}-templates" >> $GITHUB_OUTPUT
95
- echo "tar_path=./dist/${{ github.event.repository.name }}_templates -${{needs.fetch-versions.outputs.templates_VERSION}}.tar.gz" >> $GITHUB_OUTPUT
95
+ echo "tar_path=./dist/${{ github.event.repository.name }}-templates -${{needs.fetch-versions.outputs.templates_VERSION}}.tar.gz" >> $GITHUB_OUTPUT
96
96
fi
97
97
shell : bash
98
98
@@ -152,6 +152,7 @@ jobs:
152
152
working-directory : ${{ steps.set-variables.outputs.package_dir }}
153
153
run : |
154
154
python setup.py build_py && python -m build
155
+ for file in /dist/*; do mv "$file" "${file//_/-}"; done
155
156
156
157
- name : Create tag and release
157
158
working-directory : ${{ steps.set-variables.outputs.package_dir }}
0 commit comments