Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
ad2c111fa1 | ||
|
5058b58991 | ||
|
23f08ad5a5 | ||
|
77cef551a1 | ||
|
5c5a701daa | ||
|
5ead48ec92 | ||
|
1f2ac30106 | ||
|
483b457b14 | ||
|
3126c2fd2e |
24
.gitea/workflows/release.yml
Normal file
24
.gitea/workflows/release.yml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
name: Release
|
||||||
|
run-name: ${{ gitea.actor }} is runs ci pipeline
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v*.*.*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
packaging:
|
||||||
|
name: Distribution
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Set up Python 3.11
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.11'
|
||||||
|
- name: Update version
|
||||||
|
run: VSN=${{ gitea.ref_name }} && sed -i -e "s/1.12.1/${VSN:1}/g" aiohttp_pydantic/__init__.py
|
||||||
|
- name: Install invoke
|
||||||
|
run: python -m pip install setuptools wheel invoke
|
||||||
|
- name: Push to PyPi
|
||||||
|
run: invoke upload --pypi-user ${{ secrets.REPO_USER }} --pypi-password ${{ secrets.REPO_PASS }} --pypi-url https://git.ahax86.ru/api/packages/pub/pypi
|
@@ -8,4 +8,5 @@ pytest-asyncio==0.21.1
|
|||||||
pytest-cov==4.1.0
|
pytest-cov==4.1.0
|
||||||
readme-renderer==42.0
|
readme-renderer==42.0
|
||||||
codecov==2.1.13
|
codecov==2.1.13
|
||||||
twine==4.0.2
|
twine==4.0.2
|
||||||
|
importlib-metadata==7.1.0
|
Reference in New Issue
Block a user