This commit is contained in:
parent
483b457b14
commit
1f2ac30106
@ -16,8 +16,10 @@ jobs:
|
|||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.12'
|
python-version: '3.12'
|
||||||
|
- name: Set version
|
||||||
|
run: export UPLOAD_VERSION=${{ gitea.ref_name }}
|
||||||
- name: Update version
|
- name: Update version
|
||||||
run: sed -i -e "s/1.12.1/${{ gitea.ref_name }}/g" aiohttp_pydantic/__init__.py
|
run: sed -i -e "s/1.12.1/${UPLOAD_VERSION:1}/g" aiohttp_pydantic/__init__.py
|
||||||
- name: Install invoke
|
- name: Install invoke
|
||||||
run: python -m pip install setuptools wheel invoke
|
run: python -m pip install setuptools wheel invoke
|
||||||
- name: Push to PyPi
|
- name: Push to PyPi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user