Skip to content

Commit

Permalink
[fix]update goreleaser.yml to version:2
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Yang <ruiya@vmware.com>
  • Loading branch information
Ryan Hall authored and Rui Yang committed Jun 21, 2024
1 parent a49e70f commit ef85f4d
Showing 1 changed file with 21 additions and 12 deletions.
33 changes: 21 additions & 12 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com

# The lines below are called `modelines`. See `:help modeline`
# Feel free to remove those if you don't want/need to use them.
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj

version: 2

before:
hooks:
- go mod download
Expand Down Expand Up @@ -29,18 +37,19 @@ archives:
- goos: windows
format: zip
brews:
- tap:
owner: pivotal-cf
name: om
ids:
- homebrew
test: |
system "#{bin}/om --version"
install:
bin.install "om"
-
ids:
- homebrew
test: |
system "#{bin}/om --version"
install:
bin.install "om"
repository:
owner: pivotal-cf
name: om
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
skip: true
disable: true

0 comments on commit ef85f4d

Please sign in to comment.