Skip to content

Commit

Permalink
Update CONTRIBUTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dclipca authored Dec 30, 2024
1 parent d8270d4 commit f056f35
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
2. Generate an API key:
- Go to https://www.nuget.org/account/apikeys
- Click "Create"
- Name: "LocalAI.NET.KoboldCpp Publishing" (or your preferred name)
- Name: "LocalAI.NET.Oobabooga Publishing" (or your preferred name)
- Expiration: 365 days
- Select "Push new packages and package versions"
- Glob Pattern: "LocalAI.NET.KoboldCpp*"
- Glob Pattern: "LocalAI.NET.Oobabooga*"
- Save the generated key securely

### Publishing Process
1. Update version in `LocalAI.NET.KoboldCpp/LocalAI.NET.KoboldCpp.csproj`:
1. Update version in `LocalAI.NET.Oobabooga/LocalAI.NET.Oobabooga.csproj`:
```xml
<Version>1.0.0</Version> <!-- Change this to new version -->
```
Expand All @@ -27,7 +27,7 @@

3. Push to NuGet:
```bash
dotnet nuget push .\LocalAI.NET.KoboldCpp\bin\Release\LocalAI.NET.KoboldCpp.1.0.0.nupkg --api-key YOUR_API_KEY --source https://api.nuget.org/v3/index.json
dotnet nuget push .\LocalAI.NET.Oobabooga\bin\Release\LocalAI.NET.Oobabooga.1.0.0.nupkg --api-key YOUR_API_KEY --source https://api.nuget.org/v3/index.json
```
Replace:
- `1.0.0` with your new version number
Expand Down

0 comments on commit f056f35

Please sign in to comment.