赵小蒙 пре 1 година
родитељ
комит
ddde1b82f2
2 измењених фајлова са 3 додато и 2 уклоњено
  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"