Skip to content

Commit

Permalink
ci(gorelease): Upgrade Goreleaser version to 2 and update snapshot ve…
Browse files Browse the repository at this point in the history
…rsion template
  • Loading branch information
LinkinStars committed Oct 22, 2024
1 parent f35561f commit 962221b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-binary-for-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 3 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# specific language governing permissions and limitations
# under the License.

version: 2

env:
- GO11MODULE=on
- GO111MODULE=on
Expand Down Expand Up @@ -69,7 +71,7 @@ archives:
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}"
version_template: "{{ incpatch .Version }}"
changelog:
sort: asc
filters:
Expand Down
5 changes: 4 additions & 1 deletion script/plugin_list
Original file line number Diff line number Diff line change
@@ -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
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

0 comments on commit 962221b

Please sign in to comment.