Skip to content

Commit 962221b

Browse files
committed
ci(gorelease): Upgrade Goreleaser version to 2 and update snapshot version template
1 parent f35561f commit 962221b

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/build-binary-for-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Setup Go
4545
uses: actions/setup-go@v3
4646
with:
47-
go-version: 1.19
47+
go-version: 1.22
4848
- name: Run GoReleaser
4949
uses: goreleaser/goreleaser-action@v4
5050
with:

.goreleaser.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18+
version: 2
19+
1820
env:
1921
- GO11MODULE=on
2022
- GO111MODULE=on
@@ -69,7 +71,7 @@ archives:
6971
checksum:
7072
name_template: 'checksums.txt'
7173
snapshot:
72-
name_template: "{{ incpatch .Version }}"
74+
version_template: "{{ incpatch .Version }}"
7375
changelog:
7476
sort: asc
7577
filters:

script/plugin_list

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
github.com/apache/incubator-answer-plugins/connector-basic@latest
22
github.com/apache/incubator-answer-plugins/reviewer-basic@latest
3-
github.com/apache/incubator-answer-plugins/captcha-basic@latest
3+
github.com/apache/incubator-answer-plugins/captcha-basic@latest
4+
github.com/apache/incubator-answer-plugins/render-markdown-codehighlight@latest
5+
github.com/apache/incubator-answer-plugins/embed-basic@latest
6+
github.com/apache/incubator-answer-plugins/search-algolia@latest

0 commit comments

Comments
 (0)