Recognize vX.X.X-rc.N tags in version.sh and automatically mark them as pre-releases when creating Forgejo releases via create-release.sh. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
11 lines
581 B
Markdown
11 lines
581 B
Markdown
# Agent Guidelines
|
|
|
|
## After making changes
|
|
|
|
Run `dart format` and `flutter analyze` after making changes to ensure code is properly formatted and passes static analysis with no issues.
|
|
|
|
## Releases
|
|
|
|
Versioning is managed via git tags (e.g. `v0.5.0`), not `pubspec.yaml`. To create a new release, determine the latest tag with `git tag --sort=-v:refname` and create the appropriate next tag (major, minor, or patch) on the current commit.
|
|
|
|
Pre-releases use the format `vX.X.X-rc.N` (e.g. `v0.6.0-rc.1`). These are automatically marked as pre-releases in the Forgejo releases page.
|