New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: dont fail if there is a .go directory #1899
Conversation
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/goreleaser/goreleaser/i4dq71kpr |
Codecov Report
@@ Coverage Diff @@
## master #1899 +/- ##
=======================================
Coverage 81.78% 81.78%
=======================================
Files 73 73
Lines 3826 3827 +1
=======================================
+ Hits 3129 3130 +1
Misses 573 573
Partials 124 124
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, honestly though I would expect such check built into ParseDir
natively https://golang.org/src/go/parser/interface.go?s=4327:4460#L125
I can raise an upstream PR, unless you plan to do so.
already doing hehe |
Issue and PR on GoReleaser: - goreleaser/goreleaser#1897 - goreleaser/goreleaser#1899 Fixes #42951. Change-Id: Ia0d6018e0bad59cd60cd600188c368c431032a4b GitHub-Last-Rev: be59d85 GitHub-Pull-Request: #42581 Reviewed-on: https://go-review.googlesource.com/c/go/+/269897 Trust: Robert Griesemer <gri@golang.org> Trust: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org>
PS: this can be reverted once go1.16 is out :) |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
closes #1897