This is an automated email from the ASF dual-hosted git repository.
linkinstar pushed a commit to branch build-community
in repository https://gitbox.apache.org/repos/asf/incubator-answer-website.git
The following commit(s) were added to refs/heads/build-community by this push:
new c9316384 docs(plugin): update plugins upgrade description
c9316384 is described below
commit c9316384f6042d4cb9277abfda17eb8b3aef6cdd
Author: LinkinStars <[email protected]>
AuthorDate: Tue Nov 28 11:18:43 2023 +0800
docs(plugin): update plugins upgrade description
---
docs/development/plugins.md | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/docs/development/plugins.md b/docs/development/plugins.md
index d3c5241d..57298ef8 100644
--- a/docs/development/plugins.md
+++ b/docs/development/plugins.md
@@ -65,6 +65,9 @@ $ ./answer build --with
github.com/apache/incubator-answer-plugins/connector-git
# cross compilation. Build a linux-amd64 binary in macos
$ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 ./answer build --with
github.com/apache/incubator-answer-plugins/connector-github
+
+# specify the answer version using ANSWER_MODULE environment variable
+$ ANSWER_MODULE=github.com/apache/[email protected] ./answer build
--with github.com/apache/incubator-answer-plugins/connector-github
```
:::tip
@@ -94,14 +97,13 @@ We recommend the use of [official
plugins](https://github.com/apache/incubator-a
## Usage
-The answer with the plug-in version is used in the same way as before.
-You can find the plugin's configuration in the admin page.
+The Answer with the plugin version is used in the same way as before. You can
find the plugin's configuration in the admin page.

## Upgrade
-You just need to recompile and use the latest version of the plugin.
+You need build a new Answer binary with the new plugin version, then replace
the old Answer binary with the new one.
## Develop and contributing