Skip to content

Commit 1fcd456

Browse files
v0.1.2
1 parent f4d6d0d commit 1fcd456

File tree

1 file changed

+1
-37
lines changed

1 file changed

+1
-37
lines changed

README.md

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -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

294258
See [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

Comments
 (0)