Skip to content

Commit 7d44558

Browse files
author
JeanRobin
committed
Rename - by _ in distribution name on the other action
(cherry picked from commit 0d65719)
1 parent 18cc6c2 commit 7d44558

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish-single-package.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Checks if package is already on Pypi
2828
id: check-version
2929
run: |
30-
if curl https://pypi.org/simple/taipy-${{ github.event.inputs.target_package }}} | grep -o ">taipy-${{ github.event.inputs.target_package }}}-${{ github.event.inputs.version }}\.tar\.gz<"; then
30+
if curl https://pypi.org/simple/taipy-${{ github.event.inputs.target_package }}} | grep -o ">taipy_${{ github.event.inputs.target_package }}}-${{ github.event.inputs.version }}\.tar\.gz<"; then
3131
echo "exists=true" >> $GITHUB_OUTPUT
3232
else
3333
echo "exists=false" >> $GITHUB_OUTPUT
@@ -37,6 +37,7 @@ jobs:
3737
if: steps.check-version.outputs.exists == 'false'
3838
run: |
3939
gh release download ${{ github.event.inputs.version }}-${{ github.event.inputs.target_package }} --dir dist
40+
for f in dist/taipy-*; do mv $f `echo $f|sed -e 's/-/_/'`; done
4041
env:
4142
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4243

0 commit comments

Comments
 (0)