diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index def65d5..70853ff 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -44,3 +44,26 @@ The package should hide common `net/http` idioms and keep calling code simple. - Keep `README.md` in sync with public API changes. - Include practical examples for GET/POST and error handling. + +## Release process + +- Create release tags from `main`. +- Use semantic versioning tags in `vMAJOR.MINOR.PATCH` format. +- Ensure local repository is clean and synced before tagging. + +Release steps: + +1. Ensure `main` is up to date. +2. Create annotated tag: + - `git tag -a vX.Y.Z -m "Release vX.Y.Z"` +3. Push tag: + - `git push origin vX.Y.Z` +4. Create GitHub release with autogenerated notes: + - `gh release create vX.Y.Z --generate-notes` + +Verification steps: + +- Check tag exists: + - `git tag -l "vX.Y.Z"` +- Check release exists: + - `gh release view vX.Y.Z`