赵小蒙 1 an în urmă
părinte
comite
ddde1b82f2
2 a modificat fișierele cu 3 adăugiri și 2 ștergeri
  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"