Compare commits
2 Commits
23050d983e
...
trunk
| Author | SHA1 | Date | |
|---|---|---|---|
| e4f4ca722d | |||
| 37b3d333cd |
@@ -105,6 +105,45 @@ Implement CRC8-CCITT (poly 0x07) for CRSF frame validation.
|
|||||||
Added unit tests for empty, single-byte, and known-value cases.
|
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)
|
## Documentation (Markdown)
|
||||||
|
|
||||||
- Wrap normal text and lists at **max 80 columns** (for readability in
|
- Wrap normal text and lists at **max 80 columns** (for readability in
|
||||||
|
|||||||
Reference in New Issue
Block a user