Ver Fonte

fix error

赵小蒙 há 1 ano atrás
pai
commit
ddde1b82f2
2 ficheiros alterados com 3 adições e 2 exclusões
  1. 2 1
      .github/workflows/python-package.yml
  2. 1 1
      magic_pdf/libs/version.py

+ 2 - 1
.github/workflows/python-package.yml

@@ -54,7 +54,8 @@ jobs:
           GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
         run: |
           git remote set-url origin https://myhloli:${{ secrets.RELEASE_TOKEN }}@github.com/magicpdf/Magic-PDF.git
-          git push origin update-version-branch
+          git checkout -b update-version-branch || git checkout update-version-branch
+          git push --set-upstream origin update-version-branch
         id: push_changes
 
       - name: Create Pull Request

+ 1 - 1
magic_pdf/libs/version.py

@@ -1 +1 @@
-__version__ = "0.0.5"
+__version__ = "0.0.6"