How to create, update, and manage Wardex releases on GitHub.
- Go installed
- GitHub CLI (
gh) authenticated
# Annotated tag (recommended)
git tag -a v1.2.0 -m "Release v1.2.0 - Short description"
# Push the tag
git push origin v1.2.0# Auto-generate changelog from commits since last tag
gh release create v1.2.0 \
--title "v1.2.0 - Release Title" \
--generate-notes
# Or with a custom body
gh release create v1.2.0 \
--title "v1.2.0 - Release Title" \
--notes "## What's New
- Feature A
- Bug fix B"# Build the binary
make build
# Upload to the release
gh release upload v1.2.0 ./bin/wardex
# Upload the banner
gh release upload v1.2.0 doc/banner.png# Edit title and/or description
gh release edit v1.1.0 \
--title "v1.1.0 - New Title" \
--notes "Updated release notes"
# Upload additional assets
gh release upload v1.1.0 doc/banner.png# Delete the release (keeps the tag)
gh release delete v1.1.0
# Delete the tag as well
git tag -d v1.1.0
git push origin --delete v1.1.0- All CI checks pass on
main - Version in
banner.gomatches the tag - README badges reflect the correct version
-
make buildcompiles without errors - Changelog / release notes are written
Wardex follows Semantic Versioning:
| Bump | When |
|---|---|
Major (v2.0.0) |
Breaking API or CLI changes |
Minor (v1.2.0) |
New features, backward-compatible |
Patch (v1.1.1) |
Bug fixes only |