Skip to content

Instantly share code, notes, and snippets.

@mfridman
Created November 24, 2019 23:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mfridman/7bd49f5462b2e5dd50d0bdededc9c9a0 to your computer and use it in GitHub Desktop.
Save mfridman/7bd49f5462b2e5dd50d0bdededc9c9a0 to your computer and use it in GitHub Desktop.
top 5 most common .goreleaser files

10666361bf2ddb7070c9ea6756b1e8ce327a9edb

8 found

builds:
  # List of builds
  - # First Build
    env:
    - CGO_ENABLED=0
    main: main.go
    # Set the binary output location to bin/ so archive will comply with Sensu Go Asset structure
    binary: bin/{{ .ProjectName }}
    goos:
      - darwin
      - freebsd
      - linux
      - netbsd
      - solaris
      - windows
    goarch:
      - amd64
      - 386
      - arm
      - arm64
    goarm:
      - 5
      - 6
      - 7
    ignore:
      # TODO: add freebsd/arm support to gopsutil
      - goos: freebsd
        goarch: arm

checksum:
  # You can change the name of the checksums file.
  # Default is `{{ .ProjectName }}_{{ .Version }}_checksums.txt`.
  name_template: "{{ .ProjectName }}_{{ .Version }}_sha256-checksums.txt"

archive:
  format: tar.gz
  files:
    - LICENSE
    - README.md
    - CHANGELOG.md

  # You can change the name of the GitHub release.
  # This is parsed with the Go template engine and the following variables
  # are available:
  # - ProjectName
  # - Tag
  # - Version (Git tag without `v` prefix)
  # Default is ``
  #name_template: "{{.ProjectName}}-v{{.Version}}"
format repo_full_name path sha
https://github.com/sensu/sensu-influxdb-handler/blob/master/.goreleaser.yml sensu/sensu-influxdb-handler .goreleaser.yml 10666361bf2ddb7070c9ea6756b1e8ce327a9edb
https://github.com/sensu/sensu-slack-handler/blob/master/.goreleaser.yml sensu/sensu-slack-handler .goreleaser.yml 10666361bf2ddb7070c9ea6756b1e8ce327a9edb
https://github.com/sensu/sensu-pagerduty-handler/blob/master/.goreleaser.yml sensu/sensu-pagerduty-handler .goreleaser.yml 10666361bf2ddb7070c9ea6756b1e8ce327a9edb
https://github.com/sw092180/sensu-influxdb-handler/blob/master/src/sensu-influxdb-handler/.goreleaser.yml sw092180/sensu-influxdb-handler src/sensu-influxdb-handler/.goreleaser.yml 10666361bf2ddb7070c9ea6756b1e8ce327a9edb
https://github.com/nikkixdev/sensu-serverspec-events/blob/master/.goreleaser.yml nikkixdev/sensu-serverspec-events .goreleaser.yml 10666361bf2ddb7070c9ea6756b1e8ce327a9edb
https://github.com/sensu/sensu-email-handler/blob/master/.goreleaser.yml sensu/sensu-email-handler .goreleaser.yml 10666361bf2ddb7070c9ea6756b1e8ce327a9edb
https://github.com/cwjohnston/sensu-opsgenie-handler/blob/master/.goreleaser.yml cwjohnston/sensu-opsgenie-handler .goreleaser.yml 10666361bf2ddb7070c9ea6756b1e8ce327a9edb
https://github.com/portertech/sensu-prom-mutator/blob/master/.goreleaser.yml portertech/sensu-prom-mutator .goreleaser.yml 10666361bf2ddb7070c9ea6756b1e8ce327a9edb

751992179dd64cbaab447f087b1d1ff4fd2afeed

10 found

builds:
# List of builds
- # First Build
  env:
  - CGO_ENABLED=0
  main: main.go
  # Set the binary output location to bin/ so archive will comply with Sensu Go Asset structure
  binary: bin/{{ .ProjectName }}
  goos:
    - darwin
    - freebsd
    - linux
    - netbsd
    - solaris
    - windows
  goarch:
    - amd64
    - 386
    - arm
    - arm64
  goarm:
    - 5
    - 6
    - 7
  ignore:
    # TODO: add freebsd/arm support to gopsutil
    - goos: freebsd
      goarch: arm

checksum:
# You can change the name of the checksums file.
# Default is `{{ .ProjectName }}_{{ .Version }}_checksums.txt`.
name_template: "{{ .ProjectName }}_{{ .Version }}_sha256-checksums.txt"

archive:
format: tar.gz
files:
  - LICENSE
  - README.md
  - CHANGELOG.md

# You can change the name of the GitHub release.
# This is parsed with the Go template engine and the following variables
# are available:
# - ProjectName
# - Tag
# - Version (Git tag without `v` prefix)
# Default is ``
#name_template: "{{.ProjectName}}-v{{.Version}}"
format repo_full_name path sha
https://github.com/sensu/sensu-prometheus-collector/blob/master/.goreleaser.yml sensu/sensu-prometheus-collector .goreleaser.yml 751992179dd64cbaab447f087b1d1ff4fd2afeed
https://github.com/cwjohnston/sensu-pushover-handler/blob/master/.goreleaser.yml cwjohnston/sensu-pushover-handler .goreleaser.yml 751992179dd64cbaab447f087b1d1ff4fd2afeed
https://github.com/sensu-utils/sensu-irc-handler/blob/master/.goreleaser.yml sensu-utils/sensu-irc-handler .goreleaser.yml 751992179dd64cbaab447f087b1d1ff4fd2afeed
https://github.com/sensu/sensu-relay-handler/blob/master/.goreleaser.yml sensu/sensu-relay-handler .goreleaser.yml 751992179dd64cbaab447f087b1d1ff4fd2afeed
https://github.com/sensu/sensu-aggregate-check/blob/master/.goreleaser.yml sensu/sensu-aggregate-check .goreleaser.yml 751992179dd64cbaab447f087b1d1ff4fd2afeed
https://github.com/sensu/sensu-go-plugin/blob/master/.goreleaser.yml sensu/sensu-go-plugin .goreleaser.yml 751992179dd64cbaab447f087b1d1ff4fd2afeed
https://github.com/asachs01/sensu-go-system-profiler/blob/master/.goreleaser.yml asachs01/sensu-go-system-profiler .goreleaser.yml 751992179dd64cbaab447f087b1d1ff4fd2afeed
https://github.com/asachs01/sensu-go-unifi-checks/blob/master/.goreleaser.yml asachs01/sensu-go-unifi-checks .goreleaser.yml 751992179dd64cbaab447f087b1d1ff4fd2afeed
https://github.com/rgeniesse/sensu-stale-silence-check/blob/master/.goreleaser.yml rgeniesse/sensu-stale-silence-check .goreleaser.yml 751992179dd64cbaab447f087b1d1ff4fd2afeed
https://github.com/alerta/sensu-alerta-handler/blob/master/.goreleaser.yml alerta/sensu-alerta-handler .goreleaser.yml 751992179dd64cbaab447f087b1d1ff4fd2afeed

41c2806ed67503bb77d0822647369cd771571cb3

38 found

# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
builds:
- env:
  - CGO_ENABLED=0
archive:
  replacements:
    darwin: Darwin
    linux: Linux
    windows: Windows
    386: i386
    amd64: x86_64
checksum:
  name_template: 'checksums.txt'
snapshot:
  name_template: "{{ .Tag }}-next"
changelog:
  sort: asc
  filters:
    exclude:
    - '^docs:'
    - '^test:'
format repo_full_name path sha
https://github.com/rai-project/raid/blob/master/.goreleaser.yml rai-project/raid .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/micnncim/aa/blob/master/.goreleaser.yml micnncim/aa .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/jpweber/Plank/blob/master/.goreleaser.yml jpweber/Plank .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/Eun/goremovelines/blob/master/cmd/goremovelines/.goreleaser.yml Eun/goremovelines cmd/goremovelines/.goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/fossas/go-resolve/blob/master/.goreleaser.yml fossas/go-resolve .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/Cimpress-MCP/vault_aws/blob/master/.goreleaser.yml Cimpress-MCP/vault_aws .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/qianxiaofeng/goreleaser-example/blob/master/.goreleaser.yml qianxiaofeng/goreleaser-example .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/qianxiaofeng/mockapi/blob/master/.goreleaser.yml qianxiaofeng/mockapi .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/shaileshaanand/gphu/blob/master/.goreleaser.yml shaileshaanand/gphu .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/Eun/logtimer/blob/master/cmd/logtimer/.goreleaser.yml Eun/logtimer cmd/logtimer/.goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/aozora0000/git-dailylog/blob/master/.goreleaser.yml aozora0000/git-dailylog .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/kryptn/confg/blob/master/.goreleaser.yml kryptn/confg .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/owitho/alicloud_redis_exporter/blob/master/.goreleaser.yml owitho/alicloud_redis_exporter .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/Eun/github-comment/blob/master/cmd/github-comment/.goreleaser.yml Eun/github-comment cmd/github-comment/.goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/fleaz/feinstaub2mqtt/blob/master/.goreleaser.yml fleaz/feinstaub2mqtt .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/simonswine/standup-investigator/blob/master/.goreleaser.yml simonswine/standup-investigator .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/acdc-cloud/pagerduty-oncall-extractor/blob/master/.goreleaser.yml acdc-cloud/pagerduty-oncall-extractor .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/rysi3k/gphotos-uploader-cli/blob/master/.goreleaser.yml rysi3k/gphotos-uploader-cli .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/pteichman/toot/blob/master/.goreleaser.yml pteichman/toot .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/cookiefission/hello-go-mod/blob/master/.goreleaser.yml cookiefission/hello-go-mod .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/Kronin-Cloud/slack-beerbot/blob/master/.goreleaser.yml Kronin-Cloud/slack-beerbot .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/maple-leaf/happydoc/blob/master/.goreleaser.yml maple-leaf/happydoc .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/apaz037/cmc/blob/master/.goreleaser.yml apaz037/cmc .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/thales-e-security/p11tool/blob/master/.goreleaser.yml thales-e-security/p11tool .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/drn/nerd-ls/blob/master/.goreleaser.yml drn/nerd-ls .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/mseshachalam/olyshare/blob/master/.goreleaser.yml mseshachalam/olyshare .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/jetuuuu/linter/blob/master/.goreleaser.yml jetuuuu/linter .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/kontrio/kappy/blob/master/.goreleaser.yml kontrio/kappy .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/Eun/bytetostr/blob/master/.goreleaser.yml Eun/bytetostr .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/fnando/lumenaddr/blob/master/.goreleaser.yml fnando/lumenaddr .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/skriss/goreleaser-test/blob/master/.goreleaser.yml skriss/goreleaser-test .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/bzumhagen/gitchanges/blob/master/.goreleaser.yml bzumhagen/gitchanges .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/blocklayerhq/chainkit/blob/master/.goreleaser.yml blocklayerhq/chainkit .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/apaz037/go-metadata-api/blob/master/.goreleaser.yml apaz037/go-metadata-api .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/jpweber/cole/blob/master/.goreleaser.yml jpweber/cole .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/aozora0000/paste-master/blob/master/.goreleaser.yml aozora0000/paste-master .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/Kronin-Cloud/aws-events-exporter/blob/master/.goreleaser.yml Kronin-Cloud/aws-events-exporter .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3
https://github.com/opodartho/go-release-test/blob/master/.goreleaser.yml opodartho/go-release-test .goreleaser.yml 41c2806ed67503bb77d0822647369cd771571cb3

18d66df35dfcfae6826f28a269a793a69d75378e

15 found

# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
  hooks:
    # you may remove this if you don't use vgo
    - go mod download
    # you may remove this if you don't need go generate
    - go generate ./...
builds:
- env:
  - CGO_ENABLED=0
archive:
  replacements:
    darwin: Darwin
    linux: Linux
    windows: Windows
    386: i386
    amd64: x86_64
checksum:
  name_template: 'checksums.txt'
snapshot:
  name_template: "{{ .Tag }}-next"
changelog:
  sort: asc
  filters:
    exclude:
    - '^docs:'
    - '^test:'
format repo_full_name path sha
https://github.com/yoyowallet/sidekick/blob/master/.goreleaser.yml yoyowallet/sidekick .goreleaser.yml 18d66df35dfcfae6826f28a269a793a69d75378e
https://github.com/hidexir/go-prompt-git/blob/master/.goreleaser.yml hidexir/go-prompt-git .goreleaser.yml 18d66df35dfcfae6826f28a269a793a69d75378e
https://github.com/renproject/sample-go-app/blob/master/.goreleaser.yml renproject/sample-go-app .goreleaser.yml 18d66df35dfcfae6826f28a269a793a69d75378e
https://github.com/BLSQ/go-hesabu/blob/master/.goreleaser.yml BLSQ/go-hesabu .goreleaser.yml 18d66df35dfcfae6826f28a269a793a69d75378e
https://github.com/alertisme/testgoreleaser/blob/master/.goreleaser.yml alertisme/testgoreleaser .goreleaser.yml 18d66df35dfcfae6826f28a269a793a69d75378e
https://github.com/lincerely/mergecsv/blob/master/.goreleaser.yml lincerely/mergecsv .goreleaser.yml 18d66df35dfcfae6826f28a269a793a69d75378e
https://github.com/chengjingtao/gohello/blob/master/.goreleaser.yml chengjingtao/gohello .goreleaser.yml 18d66df35dfcfae6826f28a269a793a69d75378e
https://github.com/cappyzawa/cf-push-with-vault/blob/master/.goreleaser.yml cappyzawa/cf-push-with-vault .goreleaser.yml 18d66df35dfcfae6826f28a269a793a69d75378e
https://github.com/gurrpi/goreleaser-evaluation/blob/master/.goreleaser.yml gurrpi/goreleaser-evaluation .goreleaser.yml 18d66df35dfcfae6826f28a269a793a69d75378e
https://github.com/NickTaporuk/redeam/blob/master/.goreleaser.yml NickTaporuk/redeam .goreleaser.yml 18d66df35dfcfae6826f28a269a793a69d75378e
https://github.com/EBIBioSamples/certification-pipeline-go-prototype/blob/master/.goreleaser.yml EBIBioSamples/certification-pipeline-go-prototype .goreleaser.yml 18d66df35dfcfae6826f28a269a793a69d75378e
https://github.com/cookpad/itacho/blob/master/.goreleaser.yml cookpad/itacho .goreleaser.yml 18d66df35dfcfae6826f28a269a793a69d75378e
https://github.com/nukr/pg2es/blob/master/.goreleaser.yml nukr/pg2es .goreleaser.yml 18d66df35dfcfae6826f28a269a793a69d75378e
https://github.com/meepshop/pgping/blob/master/.goreleaser.yml meepshop/pgping .goreleaser.yml 18d66df35dfcfae6826f28a269a793a69d75378e
https://github.com/richard-mauri/vaultcp/blob/master/.goreleaser.yml richard-mauri/vaultcp .goreleaser.yml 18d66df35dfcfae6826f28a269a793a69d75378e

8f00df1120aaef3ac388dd78a6bd765943e92fae

20 found

# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
  hooks:
    # you may remove this if you don't use vgo
    - go mod download
    # you may remove this if you don't need go generate
    - go generate ./...
builds:
- env:
  - CGO_ENABLED=0
archives:
- replacements:
    darwin: Darwin
    linux: Linux
    windows: Windows
    386: i386
    amd64: x86_64
checksum:
  name_template: 'checksums.txt'
snapshot:
  name_template: "{{ .Tag }}-next"
changelog:
  sort: asc
  filters:
    exclude:
    - '^docs:'
    - '^test:'
format repo_full_name path sha
https://github.com/romuloalves/go-dsv/blob/master/.goreleaser.yml romuloalves/go-dsv .goreleaser.yml 8f00df1120aaef3ac388dd78a6bd765943e92fae
https://github.com/matoous/go-nanoid/blob/master/.goreleaser.yml matoous/go-nanoid .goreleaser.yml 8f00df1120aaef3ac388dd78a6bd765943e92fae
https://github.com/ArthurHlt/terraform-provider-zipper/blob/master/.goreleaser.yml ArthurHlt/terraform-provider-zipper .goreleaser.yml 8f00df1120aaef3ac388dd78a6bd765943e92fae
https://github.com/super1-chen/iciba/blob/master/.goreleaser.yml super1-chen/iciba .goreleaser.yml 8f00df1120aaef3ac388dd78a6bd765943e92fae
https://github.com/bketelsen/finger/blob/master/.goreleaser.yml bketelsen/finger .goreleaser.yml 8f00df1120aaef3ac388dd78a6bd765943e92fae
https://github.com/sparkacus/between-dates/blob/master/.goreleaser.yml sparkacus/between-dates .goreleaser.yml 8f00df1120aaef3ac388dd78a6bd765943e92fae
https://github.com/Clivern/Beaver/blob/master/.goreleaser.yml Clivern/Beaver .goreleaser.yml 8f00df1120aaef3ac388dd78a6bd765943e92fae
https://github.com/Enapiuz/multiwatch/blob/master/.goreleaser.yml Enapiuz/multiwatch .goreleaser.yml 8f00df1120aaef3ac388dd78a6bd765943e92fae
https://github.com/kgrvamsi/throne/blob/master/.goreleaser.yml kgrvamsi/throne .goreleaser.yml 8f00df1120aaef3ac388dd78a6bd765943e92fae
https://github.com/silverbackhq/beagle/blob/master/.goreleaser.yml silverbackhq/beagle .goreleaser.yml 8f00df1120aaef3ac388dd78a6bd765943e92fae
https://github.com/Clivern/Rabbit/blob/master/.goreleaser.yml Clivern/Rabbit .goreleaser.yml 8f00df1120aaef3ac388dd78a6bd765943e92fae
https://github.com/uRepairPC/autodeploy/blob/master/.goreleaser.yml uRepairPC/autodeploy .goreleaser.yml 8f00df1120aaef3ac388dd78a6bd765943e92fae
https://github.com/dishbreak/gomilk/blob/master/.goreleaser.yml dishbreak/gomilk .goreleaser.yml 8f00df1120aaef3ac388dd78a6bd765943e92fae
https://github.com/INFURA/keyrouter/blob/master/.goreleaser.yml INFURA/keyrouter .goreleaser.yml 8f00df1120aaef3ac388dd78a6bd765943e92fae
https://github.com/garsue/otwgen/blob/master/.goreleaser.yml garsue/otwgen .goreleaser.yml 8f00df1120aaef3ac388dd78a6bd765943e92fae
https://github.com/Alb0t/aerospike-ttl-exporter/blob/master/.goreleaser.yml Alb0t/aerospike-ttl-exporter .goreleaser.yml 8f00df1120aaef3ac388dd78a6bd765943e92fae
https://github.com/swisscom/korp/blob/master/.goreleaser.yml swisscom/korp .goreleaser.yml 8f00df1120aaef3ac388dd78a6bd765943e92fae
https://github.com/aptyInc/dbmigrate/blob/master/.goreleaser.yml aptyInc/dbmigrate .goreleaser.yml 8f00df1120aaef3ac388dd78a6bd765943e92fae
https://github.com/axelhzf/cra-env/blob/master/.goreleaser.yml axelhzf/cra-env .goreleaser.yml 8f00df1120aaef3ac388dd78a6bd765943e92fae
https://github.com/yskopets/go-test/blob/master/.goreleaser.yml yskopets/go-test .goreleaser.yml 8f00df1120aaef3ac388dd78a6bd765943e92fae
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment