pygmystack / pygmy

the pygmy stack is a container stack for local development
MIT License
25 stars 13 forks source link

Homebrew tap release automation is broken #284

Closed fubarhouse closed 3 years ago

fubarhouse commented 3 years ago
 09:21 PM:~/go/src/github.com/fubarhouse/pygmy $ export GITHUB_TOKEN=x; goreleaser . --debug

   • debug logs enabled       
   • releasing...     
   • loading config file       file=.goreleaser.yml
   • loaded config file        config={ [GO111MODULE=on GOPROXY=https://gocenter.io] {   false false   [] []} [{homebrew-pygmy   { } Formula   bin.install "pygmy-go" [] system "#{bin}/pygmy-go version" [] amazee.io's local development helper tool https://github.com/fubarhouse/pygmy-go false     [] }] {  { }      [] } [{ [linux darwin windows] [386 arm arm64] [] [] [] []   [] []  {[] []} [CGO_ENABLED=0]  [] [] false}] [] [] [] {} { } [] [] [] [] [] {{[]}  false}  [] {  } {[]} {  false} { [] [] [] [] [] []   [] []  {[] []} []  [] [] false} {   false} {  false} { false}}
   ⨯ release failed after 0.00s error=yaml: unmarshal errors:
  line 19: field tap not found in type config.Homebrew

Problem is, we can actually see this value exists in the schema... https://github.com/goreleaser/goreleaser/blob/78b0097dc26d86543934eb842ca0cf012ca2d2bd/pkg/config/config.go#L94

Looks like it was only recently impacted too (Source):

since 2020-07-06 (v0.139.0), removed 2021-01-04 (v0.152.0)

fubarhouse commented 3 years ago

Looks like this might be fixed upstream, so a release cycle for goreleaser or the associated action might be needed before this starts working again. The key will need to be changed slightly and I can put a validation step in place ahead of time.

fubarhouse commented 3 years ago

Might make a quick key change tonight to line up the structure for when it starts working upstream again.