You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a file in the files property works properly, the file cannot be present in the archive and needs to be in the .gitignore, if not you will get the dirty git state error.
How can we reproduce this?
Run goreleaser release --clean --skip-publish --debug on a file with a source archive:
What happened?
In the last version, the following source archive is not added to the list of artifacts because
len(ctx.Config.Source.Files) == 0
:The problem seems to be these lines
goreleaser/internal/pipe/sourcearchive/source.go
Lines 64 to 66 in ffefd6c
Added in a recent commit 0eb3e79
Adding a file in the
files
property works properly, the file cannot be present in the archive and needs to be in the .gitignore, if not you will get the dirty git state error.How can we reproduce this?
Run
goreleaser release --clean --skip-publish --debug
on a file with a source archive:You are supposed to see something like this:
And instead, you see:
goreleaser version
GoReleaser Check
Search
Code of Conduct
Additional context
No response
The text was updated successfully, but these errors were encountered: