gobuffalo / buffalo

Rapid Web Development w/ Go
http://gobuffalo.io
MIT License
8.07k stars 573 forks source link

goreleaser updates Homebrew tap with beta version releases #1340

Closed duffn closed 5 years ago

duffn commented 5 years ago

Steps to Reproduce the Problem

  1. Release a beta or RC version of Buffalo
  2. The Homebrew tap gets updated with the beta or RC by goreleaser

Expected Behavior

Only stable version releases update the Homebrew tap. I'm not sure if there's a way to indicate this with goreleaser.

Actual Behavior

All releases update the Homebrew tap

Info

``` ### Buffalo Version development ### App Information Pwd=/Users/nicholasduffy/.gvm/pkgsets/go1.10.4/global/src/github.com/gobuffalo/gobuffalo Root=/Users/nicholasduffy/.gvm/pkgsets/go1.10.4/global/src/github.com/gobuffalo/gobuffalo GoPath=/Users/nicholasduffy/.gvm/pkgsets/go1.10.4/global Name=gobuffalo Bin=bin/gobuffalo PackagePkg=github.com/gobuffalo/gobuffalo ActionsPkg=github.com/gobuffalo/gobuffalo/actions ModelsPkg=github.com/gobuffalo/gobuffalo/models GriftsPkg=github.com/gobuffalo/gobuffalo/grifts VCS=git WithPop=false WithSQLite=false WithDep=true WithWebpack=true WithYarn=true WithDocker=true WithGrifts=true WithModules=false ### Go Version go version go1.10.4 darwin/amd64 ### Go Env GOARCH="amd64" GOBIN="" GOCACHE="/Users/nicholasduffy/Library/Caches/go-build" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/Users/nicholasduffy/.gvm/pkgsets/go1.10.4/global" GORACE="" GOROOT="/Users/nicholasduffy/.gvm/gos/go1.10.4" GOTMPDIR="" GOTOOLDIR="/Users/nicholasduffy/.gvm/gos/go1.10.4/pkg/tool/darwin_amd64" GCCGO="gccgo" CC="clang" CXX="clang++" CGO_ENABLED="1" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/4g/dp5nynm51n9dktt40ccngvf40000gn/T/go-build746833422=/tmp/go-build -gno-record-gcc-switches -fno-common" ### Node Version v8.12.0 ### NPM Version 6.4.1 ### Yarn Version Yarn Not Found ### PostgreSQL Version pg_ctl (PostgreSQL) 10.3 ### MySQL Version mysql Ver 14.14 Distrib 5.7.21, for osx10.13 (x86_64) using EditLine wrapper ### SQLite Version 3.24.0 2018-06-04 14:10:15 95fbac39baaab1c3a84fdfc82ccb7f42398b2e92f18a2a57bce1d4a713cbaapl ### Dep Version dep Not Found ### Dep Status dep Not Found ### go.mod module github.com/gobuffalo/gobuffalo require ( github.com/BurntSushi/toml v0.3.0 // indirect github.com/PuerkitoBio/goquery v1.4.1 // indirect github.com/RoaringBitmap/roaring v0.4.16 // indirect github.com/Smerity/govarint v0.0.0-20150407073650-7265e41f48f1 // indirect github.com/andybalholm/cascadia v1.0.0 // indirect github.com/blevesearch/bleve v0.7.0 github.com/blevesearch/blevex v0.0.0-20180227211930-4b158bb555a3 // indirect github.com/blevesearch/go-porterstemmer v1.0.1 // indirect github.com/blevesearch/segment v0.0.0-20160915185041-762005e7a34f // indirect github.com/boltdb/bolt v1.3.1 // indirect github.com/codegangsta/negroni v0.3.0 // indirect github.com/couchbase/vellum v0.0.0-20180822133609-0ceea4a37442 // indirect github.com/cznic/b v0.0.0-20180115125044-35e9bbe41f07 // indirect github.com/cznic/mathutil v0.0.0-20180504122225-ca4c9f2c1369 // indirect github.com/cznic/strutil v0.0.0-20171016134553-529a34b1c186 // indirect github.com/edsrzf/mmap-go v0.0.0-20170320065105-0bce6a688712 // indirect github.com/facebookgo/ensure v0.0.0-20160127193407-b4ab57deab51 // indirect github.com/facebookgo/stack v0.0.0-20160209184415-751773369052 // indirect github.com/facebookgo/subset v0.0.0-20150612182917-8dac2c3c4870 // indirect github.com/glycerine/go-unsnap-stream v0.0.0-20180323001048-9f0cb55181dd // indirect github.com/glycerine/goconvey v0.0.0-20180728074245-46e3a41ad493 // indirect github.com/gobuffalo/buffalo v0.12.6 github.com/gobuffalo/envy v1.6.4 github.com/gobuffalo/fizz v1.0.10 // indirect github.com/gobuffalo/github_flavored_markdown v1.0.0 github.com/gobuffalo/makr v1.1.4 // indirect github.com/gobuffalo/mw-forcessl v0.0.0-20180802152810-73921ae7a130 github.com/gobuffalo/mw-i18n v0.0.0-20180802152014-e3060b7e13d6 github.com/gobuffalo/mw-paramlogger v0.0.0-20180807082017-6b90b69a724a github.com/gobuffalo/packr v1.13.2 github.com/gobuffalo/plush v3.7.16+incompatible github.com/gobuffalo/pop v4.6.8+incompatible // indirect github.com/gobuffalo/tags v2.0.9+incompatible github.com/gobuffalo/uuid v2.0.3+incompatible // indirect github.com/gobuffalo/validate v2.0.3+incompatible // indirect github.com/gobuffalo/x v0.0.0-20180816203319-dc54d929c4a2 github.com/golang/protobuf v1.2.0 // indirect github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db // indirect github.com/gopherjs/gopherjs v0.0.0-20180820052304-89baedc74dd7 // indirect github.com/grokify/html-strip-tags-go v0.0.0-20180530080503-3f8856873ce5 github.com/jmhodges/levigo v0.0.0-20161115193449-c42d9e0ca023 // indirect github.com/jtolds/gls v4.2.1+incompatible // indirect github.com/lib/pq v0.0.0-20180822103908-55f6f2718ccb // indirect github.com/markbates/going v1.0.2 github.com/markbates/inflect v1.0.0 github.com/markbates/refresh v1.4.2 // indirect github.com/markbates/willie v1.0.7 github.com/microcosm-cc/bluemonday v1.0.1 // indirect github.com/mmcdole/gofeed v1.0.0-beta2 github.com/mmcdole/goxpp v0.0.0-20170720115402-77e4a51a73ed // indirect github.com/monoculum/formam v0.0.0-20180818005819-0a5cdaa81e2e // indirect github.com/mschoch/smat v0.0.0-20160514031455-90eadee771ae // indirect github.com/philhofer/fwd v1.0.0 // indirect github.com/pkg/errors v0.8.0 github.com/smartystreets/assertions v0.0.0-20180820201707-7c9eb446e3cf // indirect github.com/smartystreets/goconvey v0.0.0-20180222194500-ef6db91d284a // indirect github.com/steveyen/gtreap v0.0.0-20150807155958-0abe01ef9be2 // indirect github.com/stretchr/testify v1.2.2 github.com/stvp/slug v0.0.0-20150928221549-5ab8191bb1fe github.com/syndtr/goleveldb v0.0.0-20180815032940-ae2bd5eed72d // indirect github.com/tecbot/gorocksdb v0.0.0-20180730101644-8b1d981498e1 // indirect github.com/tinylib/msgp v1.0.2 // indirect github.com/unrolled/secure v0.0.0-20180618144512-8287f3899c8e github.com/willf/bitset v1.1.9 // indirect golang.org/x/crypto v0.0.0-20180820150726-614d502a4dac // indirect golang.org/x/net v0.0.0-20180821023952-922f4815f713 // indirect golang.org/x/sys v0.0.0-20180821140842-3b58ed4ad339 // indirect ) ```
markbates commented 5 years ago

Yeah, I know. I found this out the hard way earlier this week. :)

You don’t happen to have a good way of fixing it, do you? Some flag or config?

duffn commented 5 years ago

It doesn't look like that functionality is currently available, but there is an open issue: https://github.com/goreleaser/goreleaser/issues/667