@@ -253,42 +253,6 @@ git-diff/
253253
254254---
255255
256- ## Publishing to PyPI (for maintainers)
257-
258- This project uses ** PyPI Trusted Publisher** (OIDC) — no API token or password required!
259-
260- ### One-time setup
261-
262- 1 . ** Create the package on PyPI** (first release only):
263- - Go to [ pypi.org/manage/account/publishing] ( https://pypi.org/manage/account/publishing/ )
264- - Add a new pending trusted publisher:
265- ```
266- PyPI project name : git-diff
267- Owner : ankit-chaubey
268- Repository name : git-diff
269- Workflow filename : publish.yml
270- Environment name : pypi
271- ```
272-
273- 2. **Create `pypi` environment** in your GitHub repo:
274- - Go to repo → Settings → Environments → New environment → name it `pypi`
275- - Optionally add a required reviewer for extra safety
276-
277- ### Publishing a new release
278-
279- **Option A — GitHub Release (recommended)**
280- 1. Go to GitHub repo → Releases → Draft new release
281- 2. Create a tag like `v0.2.0`
282- 3. Publish the release
283- 4. Workflow runs automatically → published to PyPI ✅
284-
285- **Option B — Manual workflow dispatch**
286- 1. Go to Actions → "Publish to PyPI" → Run workflow
287- 2. Enter optional new version (e.g. `0.2.0`) — auto-bumps and commits
288- 3. Check "Dry run" to test without actually publishing
289-
290- ---
291-
292256## Changelog
293257
294258See [ CHANGELOG.md] ( CHANGELOG.md ) .
@@ -297,7 +261,7 @@ See [CHANGELOG.md](CHANGELOG.md).
297261
298262## License
299263
300- MIT © 2024 [Ankit Chaubey](https://github.com/ankit-chaubey)
264+ MIT © 2024-Persent [ Ankit Chaubey] ( https://github.com/ankit-chaubey )
301265
302266---
303267
0 commit comments