From 3126c2fd2e6b981f7f98a0e833096f13f461d1d4 Mon Sep 17 00:00:00 2001 From: Georg K Date: Sat, 28 Dec 2024 02:22:32 +0300 Subject: [PATCH] fix: update deploy --- .gitea/workflows/release.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .gitea/workflows/release.yml diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml new file mode 100644 index 0000000..4f310cc --- /dev/null +++ b/.gitea/workflows/release.yml @@ -0,0 +1,26 @@ +name: Release +run-name: ${{ gitea.actor }} is runs ci pipeline + +on: + push: + branches: + - fixed + +jobs: + packaging: + name: Distribution + runs-on: ubuntu-latest + env: + EXT_FIX: "2.0.4" + steps: + - uses: actions/checkout@v4 + - name: Set up Python 3.12 + uses: actions/setup-python@v5 + with: + python-version: '3.12' + - name: Update version + run: sed -i -e "s/1.12.1/${EXT_FIX}/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