Vik Paruchuri commited on
Commit
9b01658
·
1 Parent(s): 1edcec8

Bump version

Browse files
Files changed (2) hide show
  1. .github/workflows/publish.yml +5 -0
  2. pyproject.toml +1 -1
.github/workflows/publish.yml CHANGED
@@ -19,6 +19,11 @@ jobs:
19
  - name: Build package
20
  run: |
21
  poetry build
 
 
 
 
 
22
  - name: Publish package
23
  env:
24
  PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
 
19
  - name: Build package
20
  run: |
21
  poetry build
22
+ - name: Extract version from pyproject.toml
23
+ id: version
24
+ run: |
25
+ VERSION=$(python -c "import tomllib; print(tomllib.load(open('pyproject.toml', 'rb'))['project']['version'])")
26
+ echo "version=v$VERSION" >> $GITHUB_OUTPUT
27
  - name: Publish package
28
  env:
29
  PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
pyproject.toml CHANGED
@@ -1,6 +1,6 @@
1
  [tool.poetry]
2
  name = "marker-pdf"
3
- version = "1.8.1"
4
  description = "Convert documents to markdown with high speed and accuracy."
5
  authors = ["Vik Paruchuri <github@vikas.sh>"]
6
  readme = "README.md"
 
1
  [tool.poetry]
2
  name = "marker-pdf"
3
+ version = "1.8.2"
4
  description = "Convert documents to markdown with high speed and accuracy."
5
  authors = ["Vik Paruchuri <github@vikas.sh>"]
6
  readme = "README.md"