Skip to content

Commit 4ad2efa

Browse files
committed
Merge branch 'master' of https://github.com/afrise/MCPSharp
2 parents ae190cc + b11e723 commit 4ad2efa

2 files changed

Lines changed: 24 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,26 @@ jobs:
3535

3636
- name: Push to NuGet
3737
run: dotnet nuget push /home/runner/work/MCPSharp/MCPSharp/nupkgs/MCPSharp.${{ github.event.inputs.version }}.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
38+
39+
- name: Publish Github release
40+
id: create_release
41+
uses: actions/create-release@v1
42+
env:
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+
with:
45+
tag_name: ${{ github.event.inputs.version }}
46+
release_name: MCPSharp ${{ github.event.inputs.version }}
47+
body: |
48+
Release of MCPSharp version ${{ github.event.inputs.version }}
49+
draft: false
50+
prerelease: false
51+
52+
- name: Upload Release Asset
53+
uses: actions/upload-release-asset@v1
54+
env:
55+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56+
with:
57+
upload_url: ${{ steps.create_release.outputs.upload_url }}
58+
asset_path: /home/runner/work/MCPSharp/MCPSharp/nupkgs/MCPSharp.${{ github.event.inputs.version }}.nupkg
59+
asset_name: MCPSharp.${{ github.event.inputs.version }}.nupkg
60+
asset_content_type: application/zip

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[![NuGet](https://img.shields.io/nuget/v/MCPSharp)](https://www.nuget.org/packages/MCPSharp)
33
[![NuGet Downloads](https://img.shields.io/nuget/dt/MCPSharp)](https://www.nuget.org/packages/MCPSharp)
44

5-
# ![MCPSharp Banner](https://github.com/afrise/MCPSharp/blob/master/MCPSharp/icon.png) MCPSharp
5+
# MCPSharp
66

77
MCPSharp is a .NET library that helps you build Model Context Protocol (MCP) servers and clients - the standardized API protocol used by AI assistants and models. With MCPSharp, you can:
88

0 commit comments

Comments
 (0)