
create-release
by annie-mei
Discord bot written in Rust for AniList anime/manga lookup.
SKILL.md
name: create-release description: Create a GitHub release with version tag and release notes for Annie Mei license: MIT compatibility: opencode metadata: audience: maintainers workflow: github
Overview
This skill guides you through creating a release for Annie Mei using trunk-based development. Releases are created by tagging commits on main and creating a GitHub release.
Prerequisites
Before creating a release, verify:
- You are on the
mainbranch - The branch is up to date with
origin/main - All CI checks are passing
- The version in
Cargo.tomlhas been bumped appropriately
Release Process
Step 1: Verify State
# Ensure you're on main and up to date
git checkout main
git pull origin main
# Check current version
grep '^version' Cargo.toml
Step 2: Determine Version
Check the commits since the last release to determine the appropriate version bump:
# Find the last release tag
git describe --tags --abbrev=0
# See commits since last release
git log $(git describe --tags --abbrev=0)..HEAD --oneline
Apply semantic versioning:
- MAJOR (X.0.0): Breaking changes, incompatible API changes
- MINOR (0.X.0): New features, new commands, backwards-compatible functionality
- PATCH (0.0.X): Bug fixes, refactors, dependency updates
Step 3: Create and Push Tag
# Create the tag (replace X.X.X with the version)
git tag vX.X.X
# Push the tag to trigger the release workflow
git push origin vX.X.X
Step 4: Create GitHub Release
Create the release with auto-generated notes:
gh release create vX.X.X --generate-notes
The build-release.yml workflow will automatically:
- Build the ARM64 binary
- Attach the binary to the release
- Deploy to Oracle Cloud
Step 5: Edit Release Notes
Edit the release notes to organize them into these sections:
## Breaking Changes
- List any breaking changes (API changes, major upgrades)
## Improvements
- New features and enhancements
- New commands added
## Bug Fixes
- Bug fixes and corrections
## Dependencies
- Package updates with version changes (e.g., "Bump serde from 1.0.148 to 1.0.149")
You can edit via CLI or directly in the GitHub UI.
Step 6: Verify Release
# Check the release was created with assets
gh release view vX.X.X
# Verify the workflow completed
gh run list --workflow=build-release.yml --limit=1
Rollback Procedure
If a release needs to be rolled back:
# Delete the release
gh release delete vX.X.X --yes
# Delete the tag (remote and local)
git push origin --delete vX.X.X
git tag -d vX.X.X
Notes
- The CI workflow triggers on tags matching
v[0-9]+.[0-9]+.[0-9]+ - Releases are built on ARM64 runners for Oracle Cloud deployment
- The binary is validated before deployment; if validation fails, the deploy auto-rolls back
Score
Total Score
Based on repository quality metrics
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
Reviews
Reviews coming soon


