Skip to content

Commit 0d91a39

Browse files
LordLuceusclaude
andcommitted
docs: Add release publishing instructions to CLAUDE.md
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent a9a150e commit 0d91a39

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,30 @@ dotnet pack -c Release
2626

2727
Build outputs are located at `bin/{Debug|Release}/{net6.0|net472|net35}/MelonAccessibilityLib.dll`.
2828

29+
## Publishing a Release
30+
31+
To publish a new version to NuGet:
32+
33+
1. **Bump the version** in `MelonAccessibilityLib.csproj`:
34+
```xml
35+
<Version>1.1.0</Version>
36+
```
37+
38+
2. **Commit and tag** the release:
39+
```bash
40+
git add MelonAccessibilityLib.csproj
41+
git commit -m "chore: Bump version to 1.1.0"
42+
git tag v1.1.0
43+
```
44+
45+
3. **Push the tag** to trigger the GitHub Actions workflow:
46+
```bash
47+
git push origin master
48+
git push origin v1.1.0
49+
```
50+
51+
The `v*` tag push triggers the `.github/workflows/nuget-publish.yml` workflow, which builds and publishes the package to NuGet automatically.
52+
2953
## Testing
3054

3155
No test framework is currently configured. If adding tests, use standard `dotnet test` commands.

0 commit comments

Comments
 (0)