Skip to content

Commit 7191bfd

Browse files
committed
ci: GitHub-only releases, no PyPI publishing
1 parent a8bc60f commit 7191bfd

3 files changed

Lines changed: 10 additions & 16 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ name: release
33
# Automated semver releases driven by conventional commits (release-please):
44
# every push to main updates a release PR that bumps pyproject.toml and
55
# CHANGELOG.md; merging it creates the vX.Y.Z tag + GitHub Release, which
6-
# triggers the publish job below (PyPI via trusted publishing + dists
7-
# attached to the GitHub Release).
6+
# triggers the publish job below (dists attached to the GitHub Release).
87
on:
98
push:
109
branches: [main]
@@ -13,7 +12,6 @@ permissions:
1312
contents: write
1413
pull-requests: write
1514
issues: write
16-
id-token: write # trusted publishing to PyPI
1715

1816
jobs:
1917
release-please:
@@ -76,9 +74,6 @@ jobs:
7674
- name: Build distributions
7775
run: uv build
7876

79-
- name: Publish to PyPI
80-
uses: pypa/gh-action-pypi-publish@release/v1
81-
8277
- name: Attach distributions to the GitHub Release
8378
env:
8479
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ Targets macOS and Linux; Windows is best-effort.
7777
uv tool install --force git+https://github.com/KalvadTech/lecode
7878
```
7979

80-
(If the `lecode` name is ever taken on PyPI, the package is also published
81-
as `lecode-agent` — the command stays `lecode`.)
80+
lecode is distributed from this repository only — it is not on PyPI.
8281

8382
## Quickstart
8483

@@ -234,8 +233,8 @@ Releases are automated with [release-please](https://github.com/googleapis/relea
234233
and follow semver, driven by conventional commits: `fix:` → patch, `feat:`
235234
minor, `feat!:` (or any `!`) → major. Every push to `main` updates a release
236235
PR that bumps `pyproject.toml` and `CHANGELOG.md`; merging that PR creates the
237-
`vX.Y.Z` tag and the GitHub Release, then publishes the dists to PyPI and
238-
attaches them to the release.
236+
`vX.Y.Z` tag and the GitHub Release, with the built dists (wheel + sdist)
237+
attached to the release. Nothing is published to PyPI.
239238

240239
## License
241240

docs/build-plan.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ Design stance (from kon): the default harness stays tiny — **default system pr
2424
~300 tokens**, project context loaded externally via AGENTS.md files and skills. A rich,
2525
detailed prompt (personas, mode prompts) is available as a config option.
2626

27-
(Release-time check: if `lecode` is taken on PyPI, publish as `lecode-agent` while
28-
keeping the `lecode` command name.)
27+
(Release: GitHub-only — git tag + GitHub Release via release-please; not
28+
published to PyPI.)
2929

3030
## Feature lineage
3131

@@ -121,7 +121,7 @@ portal.
121121
`rtk` compacts `bash` output (`rtk rewrite`, fail-open with 5s timeout on individual
122122
rewrites). Startup verifies all three exist on PATH and exits with install
123123
instructions otherwise (exit code 2). No auto-download, no fallback code paths.
124-
- **Packaging**: PyPI package, `uv tool install`.
124+
- **Packaging**: installable from the GitHub repo via `uv tool install` (not on PyPI).
125125
- **Tooling**: `uv`, `pytest` + `pytest-asyncio` + `respx`, `ruff`, `pydantic` v2,
126126
`typer`.
127127

@@ -421,9 +421,9 @@ lecode/
421421
diagnostics-in-results, `lsp_diagnostics`), then MCP client with Exa/context7
422422
auto-config (largest, own sub-phase).
423423
11. **Onboarding + release**`--setup` wizard, first-run defaults, `/init`, `/welcome`,
424-
docs (including fd/rg/rtk install instructions); PyPI publish workflow (verify the
425-
`lecode` name, else `lecode-agent`); clean-machine `uv tool install` → setup →
426-
real coding task; full CI green.
424+
docs (including fd/rg/rtk install instructions); automated release workflow
425+
(release-please: semver tag + GitHub Release, no PyPI); clean-machine
426+
`uv tool install` → setup → real coding task; full CI green.
427427

428428
## Sizing
429429

0 commit comments

Comments
 (0)