Skip to content

Commit 511542e

Browse files
authored
Merge pull request #60 from RayCarterLab/v2.2
feat(v2.2.2): update tag
2 parents 3909ef1 + 9d3acb2 commit 511542e

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/python-publish.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,17 @@ jobs:
3838
rm -rf dist
3939
uv build
4040
41+
- name: Verify release tag matches package version
42+
env:
43+
RELEASE_TAG: ${{ github.event.release.tag_name }}
44+
run: |
45+
PACKAGE_VERSION="$(uv run python -c "import excelalchemy; print(excelalchemy.__version__)")"
46+
NORMALIZED_TAG="${RELEASE_TAG#v}"
47+
if [ "$PACKAGE_VERSION" != "$NORMALIZED_TAG" ]; then
48+
echo "Release tag ($RELEASE_TAG) does not match excelalchemy.__version__ ($PACKAGE_VERSION)"
49+
exit 1
50+
fi
51+
4152
- name: Check package metadata
4253
run: uvx twine check dist/*
4354

src/excelalchemy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""A Python Library for Reading and Writing Excel Files"""
22

3-
__version__ = '2.1.0'
3+
__version__ = '2.2.0'
44
from excelalchemy._primitives.constants import CharacterSet, DataRangeOption, DateFormat, Option
55
from excelalchemy._primitives.deprecation import ExcelAlchemyDeprecationWarning
66
from excelalchemy._primitives.identity import (

0 commit comments

Comments
 (0)