This commit is contained in:
parent
3126c2fd2e
commit
483b457b14
@ -3,15 +3,13 @@ run-name: ${{ gitea.actor }} is runs ci pipeline
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
tags:
|
||||||
- fixed
|
- 'v*.*.*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
packaging:
|
packaging:
|
||||||
name: Distribution
|
name: Distribution
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
|
||||||
EXT_FIX: "2.0.4"
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Python 3.12
|
- name: Set up Python 3.12
|
||||||
@ -19,7 +17,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: '3.12'
|
python-version: '3.12'
|
||||||
- name: Update version
|
- name: Update version
|
||||||
run: sed -i -e "s/1.12.1/${EXT_FIX}/g" aiohttp_pydantic/__init__.py
|
run: sed -i -e "s/1.12.1/${{ gitea.ref_name }}/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