release: 0.2.2 + миграция реестра/CI на git.elexam.ru
All checks were successful
Publish elexam-core / publish (push) Successful in 2s
All checks were successful
Publish elexam-core / publish (push) Successful in 2s
This commit is contained in:
parent
3eaa0b74ba
commit
ff2ed3efea
@ -17,7 +17,7 @@ jobs:
|
||||
run: |
|
||||
rm -rf src-checkout
|
||||
git clone --depth 1 --branch "${{ github.ref_name }}" \
|
||||
"https://x-access-token:${{ github.token }}@git.dregomor.ru/${{ github.repository }}.git" \
|
||||
"https://x-access-token:${{ github.token }}@git.elexam.ru/${{ github.repository }}.git" \
|
||||
src-checkout
|
||||
|
||||
# Защита источника истины: тег обязан совпадать с version в pyproject.toml.
|
||||
@ -42,6 +42,6 @@ jobs:
|
||||
working-directory: src-checkout
|
||||
run: |
|
||||
uv publish \
|
||||
--publish-url https://git.dregomor.ru/api/packages/Returner_org/pypi \
|
||||
--publish-url https://git.elexam.ru/api/packages/Returner_org/pypi \
|
||||
-u Returner_org -p "${{ secrets.PKG_PUBLISH_TOKEN }}" \
|
||||
dist/*
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
```toml
|
||||
[[tool.uv.index]]
|
||||
name = "elexam"
|
||||
url = "https://git.dregomor.ru/api/packages/Returner_org/pypi/simple"
|
||||
url = "https://git.elexam.ru/api/packages/Returner_org/pypi/simple"
|
||||
```
|
||||
|
||||
Затем установи пакет:
|
||||
@ -40,7 +40,7 @@ uv add elexam-core==0.1.0
|
||||
До того, как пакет залит в registry, или для точного закрепления на конкретном коммите:
|
||||
|
||||
```bash
|
||||
uv add "elexam-core @ git+https://git.dregomor.ru/Returner_org/elexam-core.git@v0.1.0"
|
||||
uv add "elexam-core @ git+https://git.elexam.ru/Returner_org/elexam-core.git"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "elexam-core"
|
||||
version = "0.2.1"
|
||||
version = "0.2.2"
|
||||
description = "Общая библиотека платформы Elexam: envelope ответа, trace_id, structlog, каталог ошибок, ULID, http-клиент"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.14"
|
||||
@ -21,5 +21,5 @@ packages = ["src/elexam_core"]
|
||||
|
||||
[[tool.uv.index]]
|
||||
name = "elexam"
|
||||
url = "https://git.dregomor.ru/api/packages/Returner_org/pypi/simple"
|
||||
url = "https://git.elexam.ru/api/packages/Returner_org/pypi/simple"
|
||||
explicit = true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user