fix client: download fallback to github release client

+ add fallback release version data to version.txt
+ move classproperty class to utils
+ update Dockerfile to install from source using pip install
+ move version info to Metadata class in settings.py
This commit is contained in:
wanji
2025-12-07 23:19:34 +03:00
parent d2b2ba6e02
commit 506c45c4fa
10 changed files with 86 additions and 61 deletions
+5 -2
View File
@@ -193,6 +193,9 @@ jobs:
- name: Checkout into repo
uses: actions/checkout@v3
- name: Create version.txt
run: echo ${{ github.event.inputs.tag }} > version.txt
- name: Download artifact
uses: actions/download-artifact@v4
@@ -380,7 +383,7 @@ jobs:
if: ${{ github.event.inputs.publish_pypi == 'true' }}
permissions:
id-token: write
steps:
- name: Download wheel artifacts
uses: actions/download-artifact@v4
@@ -388,7 +391,7 @@ jobs:
name: wheels
path: dist
merge-multiple: true
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with: