This is an automated email from the ASF dual-hosted git repository. linkinstar pushed a commit to branch release/1.4.1 in repository https://gitbox.apache.org/repos/asf/incubator-answer.git
commit b9402e6283bd49a2f5ba955f35ef6b49b0e184f2 Author: LinkinStars <[email protected]> AuthorDate: Tue Oct 22 18:46:58 2024 +0800 ci(gorelease): Upgrade Goreleaser version to 2 and update snapshot version template --- .github/workflows/build-binary-for-release.yml | 2 +- .goreleaser.yaml | 4 +++- script/plugin_list | 5 ++++- 3 files changed, 8 insertions(+), 3 deletions(-) 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
