From 5973507c88702174878c329ebea620ff2d82e006 Mon Sep 17 00:00:00 2001 From: Sprite Date: Sun, 22 Nov 2026 21:15:25 +0000 Subject: [PATCH] Add sweet release config Co-Authored-By: Claude Sonnet 5.5 --- .sweet.config.yml | 15 +++++++++++++++ .sweet.yml | 5 +++++ AGENTS.md | 8 ++++++++ moon.mod | 2 +- 4 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 .sweet.config.yml create mode 100644 .sweet.yml diff --git a/.sweet.config.yml b/.sweet.config.yml new file mode 100644 index 0000000..fe5ece1 --- /dev/null +++ b/.sweet.config.yml @@ -0,0 +1,15 @@ +# Sweet repository configuration +types: + fix: + bump: patch + section: Fixes + feature: + bump: minor + section: Features + chore: + bump: none + refactor: + bump: none + performance: + bump: patch + section: Performance diff --git a/.sweet.yml b/.sweet.yml new file mode 100644 index 0000000..edfded8 --- /dev/null +++ b/.sweet.yml @@ -0,0 +1,5 @@ +name: wasm2elf +version: 0.1.0 +version-files: + - path: moon.mod + format: annotated diff --git a/AGENTS.md b/AGENTS.md index c0e8474..605c037 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -51,3 +51,11 @@ You can browse and install extra skills here: scientific computations), prefer assertion tests. You can use `moon coverage analyze > uncovered.log` to see which parts of your code are not covered by tests. + +## Releases + +Releases are managed with `sweet` +(config in `.sweet.config.yml` and `.sweet.yml`). For any user-visible change, +add a release note with `sweet change`. `sweet bump` updates the version in +`moon.mod` (the line tagged `// sweet-version`; keep that comment). Run +`sweet doctor` to validate. diff --git a/moon.mod b/moon.mod index 8723905..679f7a6 100644 --- a/moon.mod +++ b/moon.mod @@ -11,7 +11,7 @@ name = "nandi/wasm2elf" -version = "0.1.0" +version = "0.1.0" // sweet-version readme = "README.mbt.md"