issue-core/docs/package-release.md

52 lines
1.1 KiB
Markdown
Raw Normal View History

2026-05-23 06:45:36 +02:00
# Python Package Release
`issue-core` publishes as the `issue-core` Python package. The Railiance
application deployment path expects the `0.2.x` series to be available from the
Coulomb Forgejo PyPI registry (`forgejo.coulomb.social`).
2026-05-23 06:45:36 +02:00
## Local Release
Build and validate the release artifacts:
```bash
make package-check
```
Publish to the Coulomb organization registry:
```bash
TWINE_USERNAME=<gitea-user> \
TWINE_PASSWORD=<package-token> \
make publish-forgejo
2026-05-23 06:45:36 +02:00
```
The package endpoint is:
```text
https://forgejo.coulomb.social/api/packages/coulomb/pypi
2026-05-23 06:45:36 +02:00
```
The matching simple index for consumers is:
```text
https://forgejo.coulomb.social/api/packages/coulomb/pypi/simple/
2026-05-23 06:45:36 +02:00
```
Do not commit tokenized package index URLs. CI and local Docker builds should
inject registry credentials through environment variables or BuildKit secrets.
## Forgejo Actions Release
2026-05-23 06:45:36 +02:00
The `.forgejo/workflows/publish-python-package.yml` workflow publishes on tags
matching `v*` or `workflow_dispatch`. Configure org secrets:
2026-05-23 06:45:36 +02:00
- `FORGEJO_PYPI_USER`
- `FORGEJO_PYPI_TOKEN`
2026-05-23 06:45:36 +02:00
Release with:
2026-05-23 06:45:36 +02:00
```bash
git tag v0.2.0
git push origin v0.2.0
```