2 Commits

Author SHA1 Message Date
portersky e4f4ca722d docs: shorten tag release example in AGENTS.md 2026-06-15 00:45:08 +02:00
portersky 37b3d333cd docs: add tag release workflow to AGENTS.md 2026-06-15 00:44:21 +02:00
+39
View File
@@ -105,6 +105,45 @@ Implement CRC8-CCITT (poly 0x07) for CRSF frame validation.
Added unit tests for empty, single-byte, and known-value cases.
```
## Tag Releases
Use annotated tags for releases. Write the release notes to a temporary
file, then use it as the tag message. Do **not** commit the release
notes file.
Write release notes (see previous tags for style reference):
```sh
cat > RELEASES.md << 'EOF'
# Releases
## 0.2.0 (2026-01-01)
Short summary.
### Library (`celrs`)
- **Feature**: description.
EOF
```
Create the annotated tag:
```sh
git tag -a v0.1.0 -F RELEASES.md
```
Verify:
```sh
git show v0.1.0
```
Remove the temporary file:
```sh
rm RELEASES.md
```
Release notes follow the same Markdown rules as `AGENTS.md` (80-column
wrap, no em dashes, etc.). Version format is `v<major>.<minor>.<patch>`.
## Documentation (Markdown)
- Wrap normal text and lists at **max 80 columns** (for readability in