Skip to content

Commit 61a6fd6

Browse files
committed
ci: update package
1 parent af01b01 commit 61a6fd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/package_ocrweb.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: marvinpinto/action-automatic-releases@latest
2727
with:
2828
repo_token: ${{ secrets.GITHUB_TOKEN }}
29-
automatic_release_tag: v${{ github.ref_name }}
29+
automatic_release_tag: Release ${{ github.ref_name }}
3030
prerelease: false
3131
draft: true
3232

@@ -63,7 +63,7 @@ jobs:
6363
run: |
6464
cd ${{ env.rapidocr_web_dir }}
6565
pyinstaller ocrweb.spec
66-
cp -r static templates dist/${{ env.package_name }}
66+
cp -r static templates dist/${{ env.package_name }}/_internal
6767
rm dist/${{ env.package_name }}/cv2/opencv_videoio_ffmpe*.dll || echo "未找到opencv_videoio_ffmpeg"
6868
echo "VERSION=$(get_pypi_latest_version rapid_videocr)" >> $GITHUB_OUTPUT
6969

0 commit comments

Comments
 (0)