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
11 changes: 11 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,17 @@ jobs:
rm -rf dist
uv build

- name: Verify release tag matches package version
env:
RELEASE_TAG: ${{ github.event.release.tag_name }}
run: |
PACKAGE_VERSION="$(uv run python -c "import excelalchemy; print(excelalchemy.__version__)")"
NORMALIZED_TAG="${RELEASE_TAG#v}"
if [ "$PACKAGE_VERSION" != "$NORMALIZED_TAG" ]; then
echo "Release tag ($RELEASE_TAG) does not match excelalchemy.__version__ ($PACKAGE_VERSION)"
exit 1
fi

- name: Check package metadata
run: uvx twine check dist/*

Expand Down
2 changes: 1 addition & 1 deletion src/excelalchemy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""A Python Library for Reading and Writing Excel Files"""

__version__ = '2.1.0'
__version__ = '2.2.0'
from excelalchemy._primitives.constants import CharacterSet, DataRangeOption, DateFormat, Option
from excelalchemy._primitives.deprecation import ExcelAlchemyDeprecationWarning
from excelalchemy._primitives.identity import (
Expand Down