Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pdf-miner
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Qin Kaijie
pdf-miner
Commits
c7a685b3
Commit
c7a685b3
authored
Jun 04, 2024
by
赵小蒙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix error
parent
93a59ff4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
2 deletions
+32
-2
python-package.yml
.github/workflows/python-package.yml
+31
-1
version.py
magic_pdf/libs/version.py
+1
-1
No files found.
.github/workflows/python-package.yml
View file @
c7a685b3
...
@@ -53,7 +53,37 @@ jobs:
...
@@ -53,7 +53,37 @@ jobs:
env
:
env
:
GITHUB_TOKEN
:
${{ secrets.RELEASE_TOKEN }}
GITHUB_TOKEN
:
${{ secrets.RELEASE_TOKEN }}
run
:
|
run
:
|
git push origin HEAD:master
git remote set-url origin https://myhloli:${{ secrets.RELEASE_TOKEN }}@github.com/magicpdf/Magic-PDF.git
git push origin update-version-branch
id
:
push_changes
-
name
:
Create Pull Request
if
:
steps.push_changes.outcome == 'success'
id
:
create_pull_request
uses
:
peter-evans/create-pull-request@v5
with
:
token
:
${{ secrets.RELEASE_TOKEN }}
commit-message
:
Update version.py with new version
branch
:
update-version-branch
title
:
'
Update
version.py'
body
:
'
This
PR
updates
the
version.py
file
with
the
latest
version.'
base
:
master
labels
:
'
automated
PR'
-
name
:
Merge Pull Request
if
:
steps.create_pull_request.outputs.pull-request-number
uses
:
actions/github-script@v6
with
:
github-token
:
${{ secrets.RELEASE_TOKEN }}
script
:
|
const pullRequestNumber = parseInt('${{ steps.create_pull_request.outputs.pull-request-number }}');
await github.pulls.merge({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: pullRequestNumber,
merge_method: 'merge'
});
build
:
build
:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
...
...
magic_pdf/libs/version.py
View file @
c7a685b3
__version__
=
"0.0.
4
"
__version__
=
"0.0.
5
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment