Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

ci(gorelease): Upgrade Goreleaser version to 2 and update snapshot version template

LinkinStars962221be3bfb
diff --git a/.github/workflows/build-binary-for-release.yml b/.github/workflows/build-binary-for-release.yml
index 7075db8f..0356f97f 100644
--- a/.github/workflows/build-binary-for-release.yml
+++ b/.github/workflows/build-binary-for-release.yml
@@ -44,7 +44,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
- go-version: 1.19
+ go-version: 1.22
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
diff --git a/.goreleaser.yaml b/.goreleaser.yaml
index 457674e9..d2869147 100644
--- a/.goreleaser.yaml
+++ b/.goreleaser.yaml
@@ -15,6 +15,8 @@
# specific language governing permissions and limitations
# under the License.
+version: 2
+
env:
- GO11MODULE=on
- GO111MODULE=on
@@ -69,7 +71,7 @@ archives:
checksum:
name_template: 'checksums.txt'
snapshot:
- name_template: "{{ incpatch .Version }}"
+ version_template: "{{ incpatch .Version }}"
changelog:
sort: asc
filters:
diff --git a/script/plugin_list b/script/plugin_list
index 67ba306f..9ebe8fd8 100644
--- a/script/plugin_list
+++ b/script/plugin_list
@@ -1,3 +1,6 @@
github.com/apache/incubator-answer-plugins/connector-basic@latest
github.com/apache/incubator-answer-plugins/reviewer-basic@latest
-github.com/apache/incubator-answer-plugins/captcha-basic@latest
\ No newline at end of file
+github.com/apache/incubator-answer-plugins/captcha-basic@latest
+github.com/apache/incubator-answer-plugins/render-markdown-codehighlight@latest
+github.com/apache/incubator-answer-plugins/embed-basic@latest
+github.com/apache/incubator-answer-plugins/search-algolia@latest
\ No newline at end of file