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.ymlindex 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 Gouses: actions/setup-go@v3with:- go-version: 1.19+ go-version: 1.22- name: Run GoReleaseruses: goreleaser/goreleaser-action@v4with:diff --git a/.goreleaser.yaml b/.goreleaser.yamlindex 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: ascfilters:diff --git a/script/plugin_list b/script/plugin_listindex 67ba306f..9ebe8fd8 100644--- a/script/plugin_list+++ b/script/plugin_list@@ -1,3 +1,6 @@github.com/apache/incubator-answer-plugins/connector-basic@latestgithub.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