Compare commits

2 Commits

Author SHA1 Message Date
Georg K
5c5a701daa fix: on tags
Some checks failed
Release / Distribution (push) Failing after 9s
2024-12-28 02:29:41 +03:00
Georg K
5ead48ec92 fix: on tags
Some checks failed
Release / Distribution (push) Failing after 8s
2024-12-28 02:28:55 +03:00

View File

@@ -16,10 +16,8 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Set version
run: export UPLOAD_VERSION=${{ gitea.ref_name }}
- name: Update version
run: sed -i -e "s/1.12.1/${UPLOAD_VERSION:1}/g" aiohttp_pydantic/__init__.py
run: sed -i -e "s/1.12.1/${{ gitea.ref_name:1 }}/g" aiohttp_pydantic/__init__.py
- name: Install invoke
run: python -m pip install setuptools wheel invoke
- name: Push to PyPi