Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Release

on:
pull_request:
branches:
- main
types:
- closed

permissions:
contents: read

jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
environment:
name: pypi
url: https://pypi.org/project/zotlib/
permissions:
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v5

- name: Set up Python 3.14
run: uv python install 3.14

- name: Package project
run: uv build

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "zotlib"
version = "0.4.1"
version = "0.4.2"
description = "Extract and format bibliographic data from Zotero databases"
readme = "README.md"
requires-python = ">=3.10"
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion zotlib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Zotlib - Extract and format bibliographic data from Zotero databases."""

__version__ = "0.4.1"
__version__ = "0.4.2"

from zotlib.database import ZoteroDatabase
from zotlib.extractors import (
Expand Down
Loading