You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by ga...@apache.org on 2022/10/09 08:37:17 UTC

[shenyu-website] branch main updated: [ISSUE #789] fix mistakes in dotnet client docs (#790)

This is an automated email from the ASF dual-hosted git repository.

gaohan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shenyu-website.git


The following commit(s) were added to refs/heads/main by this push:
     new d01a2afde1 [ISSUE #789] fix mistakes in dotnet client docs (#790)
d01a2afde1 is described below

commit d01a2afde1e39c8fdabd58d16fbc76f30fd44cb4
Author: Han Gao <dh...@hotmail.com>
AuthorDate: Sun Oct 9 16:37:10 2022 +0800

    [ISSUE #789] fix mistakes in dotnet client docs (#790)
    
    * fix mistakes in dotnet client docs
    
    * add link to example code in dotnet docs
---
 community/15-shenyu-client-dotnet-release-guide.md  | 21 +++++++++++++++++++++
 .../15-shenyu-client-dotnet-release-guide.md        | 10 +++++-----
 shenyuClientDotnet/consul.md                        |  2 +-
 shenyuClientDotnet/etcd.md                          |  2 +-
 shenyuClientDotnet/http.md                          |  2 +-
 shenyuClientDotnet/nacos.md                         |  2 +-
 shenyuClientDotnet/zookeeper.md                     |  2 +-
 7 files changed, 31 insertions(+), 10 deletions(-)

diff --git a/community/15-shenyu-client-dotnet-release-guide.md b/community/15-shenyu-client-dotnet-release-guide.md
index ff2f2cf1d9..cb945d307d 100644
--- a/community/15-shenyu-client-dotnet-release-guide.md
+++ b/community/15-shenyu-client-dotnet-release-guide.md
@@ -122,6 +122,27 @@ Follow [Dirmngr Options](https://www.gnupg.org/documentation/manuals/gnupg/Dirmn
 gpg --send-key 095E0D21BC28CFC7A8B8076DF7DF28D237A8048C
 ```
 
+## Before Release
+
+**1. Publish a new tag**
+
+Download and install [Git](https://git-scm.com/downloads).
+
+Create a new tag called `${PUBLISH.VERSION}`.
+
+```shell
+git clone https://github.com/apache/shenyu-client-dotnet.git ~/shenyu-client-dotnet
+cd ~/shenyu-client-dotnet/
+git checkout main
+git tag -a v${PUBLISH.VERSION} -m "${PUBLISH.VERSION} release shenyu client dotnet"
+```
+
+Push new created tag to github.
+
+```shell
+git push origin v${PUBLISH.VERSION}
+```
+
 ## Publish to SVN dev repository
 
 Install [SVN](https://tortoisesvn.net/downloads.html).
diff --git a/i18n/zh/docusaurus-plugin-content-docs-community/current/15-shenyu-client-dotnet-release-guide.md b/i18n/zh/docusaurus-plugin-content-docs-community/current/15-shenyu-client-dotnet-release-guide.md
index 2c76ca7954..1e9dae65e2 100755
--- a/i18n/zh/docusaurus-plugin-content-docs-community/current/15-shenyu-client-dotnet-release-guide.md
+++ b/i18n/zh/docusaurus-plugin-content-docs-community/current/15-shenyu-client-dotnet-release-guide.md
@@ -131,16 +131,16 @@ gpg --send-key 095E0D21BC28CFC7A8B8076DF7DF28D237A8048C
 创建并切换到 `${PUBLISH.VERSION}` 标签.
 
 ```shell
-git clone https://github.com/apache/shenyu-client-golang.git ~/shenyu-client-golang
-cd ~/shenyu-client-golang/
-git checkout master
-git tag -a ${PUBLISH.VERSION} -m "${PUBLISH.VERSION} release shenyu client golang"
+git clone https://github.com/apache/shenyu-client-dotnet.git ~/shenyu-client-dotnet
+cd ~/shenyu-client-dotnet/
+git checkout main
+git tag -a v${PUBLISH.VERSION} -m "${PUBLISH.VERSION} release shenyu client dotnet"
 ```
 
 提交更新版本号后的代码和新标签。
 
 ```shell
-git push origin --tags
+git push origin v${PUBLISH.VERSION}
 ```
 
 ## 发布到 SVN 预发仓库
diff --git a/shenyuClientDotnet/consul.md b/shenyuClientDotnet/consul.md
index abbd480517..f01d01cf13 100644
--- a/shenyuClientDotnet/consul.md
+++ b/shenyuClientDotnet/consul.md
@@ -8,7 +8,7 @@ title: Consul Example
 
 ## ASP.NET Core project
 
-For ASP.NET Core project, we can refer to the example code at `examples/AspNetCoreExample`. What you need to do is quite
+For ASP.NET Core project, we can refer to the example code at [example code](https://github.com/apache/shenyu-client-dotnet/tree/main/examples/AspNetCoreExample). What you need to do is quite
 simple and straightforward.
 
 1. add the Shenyu ASP.NET Core dependency into project.
diff --git a/shenyuClientDotnet/etcd.md b/shenyuClientDotnet/etcd.md
index 7fca2453c8..8810e3a1db 100644
--- a/shenyuClientDotnet/etcd.md
+++ b/shenyuClientDotnet/etcd.md
@@ -8,7 +8,7 @@ title: Etcd Example
 
 ## ASP.NET Core project
 
-For ASP.NET Core project, we can refer to the example code at `examples/AspNetCoreExample`. What you need to do is quite
+For ASP.NET Core project, we can refer to the example code at [example code](https://github.com/apache/shenyu-client-dotnet/tree/main/examples/AspNetCoreExample). What you need to do is quite
 simple and straightforward.
 
 1. add the Shenyu ASP.NET Core dependency into project.
diff --git a/shenyuClientDotnet/http.md b/shenyuClientDotnet/http.md
index 6ba7a99b14..679569d21b 100644
--- a/shenyuClientDotnet/http.md
+++ b/shenyuClientDotnet/http.md
@@ -8,7 +8,7 @@ title: Http Example
 
 ## ASP.NET Core project
 
-For ASP.NET Core project, we can refer to the example code at `examples/AspNetCoreExample`. What you need to do is quite
+For ASP.NET Core project, we can refer to the example code at [example code](https://github.com/apache/shenyu-client-dotnet/tree/main/examples/AspNetCoreExample). What you need to do is quite
 simple and straightforward.
 
 1. add the Shenyu ASP.NET Core dependency into project.
diff --git a/shenyuClientDotnet/nacos.md b/shenyuClientDotnet/nacos.md
index fa22324f6b..8a1f1aaa85 100644
--- a/shenyuClientDotnet/nacos.md
+++ b/shenyuClientDotnet/nacos.md
@@ -8,7 +8,7 @@ title: Nacos Example
 
 ## ASP.NET Core project
 
-For ASP.NET Core project, we can refer to the example code at `examples/AspNetCoreExample`. What you need to do is quite
+For ASP.NET Core project, we can refer to the example code at [example code](https://github.com/apache/shenyu-client-dotnet/tree/main/examples/AspNetCoreExample). What you need to do is quite
 simple and straightforward.
 
 1. add the Shenyu ASP.NET Core dependency into project.
diff --git a/shenyuClientDotnet/zookeeper.md b/shenyuClientDotnet/zookeeper.md
index 4f18798635..6cc2a61b5d 100644
--- a/shenyuClientDotnet/zookeeper.md
+++ b/shenyuClientDotnet/zookeeper.md
@@ -8,7 +8,7 @@ title: Zookeeper Example
 
 ## ASP.NET Core project
 
-For ASP.NET Core project, we can refer to the example code at `examples/AspNetCoreExample`. What you need to do is quite
+For ASP.NET Core project, we can refer to the example code at [example code](https://github.com/apache/shenyu-client-dotnet/tree/main/examples/AspNetCoreExample). What you need to do is quite
 simple and straightforward.
 
 1. add the Shenyu ASP.NET Core dependency into project.