Skip to content

Commit 697ee0d

Browse files
committed
docs: clarify CI/CD publishing - never use uv publish manually
1 parent ee35964 commit 697ee0d

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/copilot-instructions.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,11 +307,20 @@ klondike release --bump minor --dry-run
307307

308308
### CI/CD Publishing Pipeline
309309

310+
**This project uses automated CI/CD publishing. NEVER run `uv publish` manually.**
311+
310312
**Continuous Deployment (with dynamic versioning):**
311313
- Every push to master → CI runs → if passes → auto-publish to PyPI
312314
- Use `skip-existing: true` in pypa/gh-action-pypi-publish
313315
- Unique dev versions ensure no conflicts
314316

317+
**Release Workflow:**
318+
1. Update CHANGELOG.md and README.md as needed
319+
2. Commit changes: `git add . && git commit -m "docs: update for vX.Y.Z"`
320+
3. Create tag: `git tag -a vX.Y.Z -m "vX.Y.Z - Brief description"`
321+
4. Push: `git push origin master && git push origin vX.Y.Z`
322+
5. GitHub Actions handles PyPI publication automatically
323+
315324
**Staged Deployment (traditional):**
316325
1. **Push tag** → Publishes to TestPyPI/npm staging
317326
2. **Create GitHub Release** → Publishes to PyPI/npm production

0 commit comments

Comments
 (0)