File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,6 +26,30 @@ dotnet pack -c Release
2626
2727Build 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
3155No test framework is currently configured. If adding tests, use standard ` dotnet test ` commands.
You can’t perform that action at this time.
0 commit comments