-
-
Notifications
You must be signed in to change notification settings - Fork 943
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
Go Template Syntax in filenames break goreleaser #3573
Comments
I looked into your config and didn't see anything like this, but probably we added templating support to some field that didn't had it before, and now it's breaking for you because that template is not available. Nothing we can do to fix it, you should probably replace your templates before running goreleaser. |
@caarlos0 the problem in this case is that the templates are part of the application and the whole folder with template syntax in the filenames should be embedded into the application to be templated when running the CLI that Would it maybe be possible to add some flag to the config to disable whatever feature that now breaks it for our usecase? |
unfortunately no.. you could probably escape the templates? For instance, using |
Or, a better solution, probably: create another goreleaser.yml to release the template, instead of using the same that is templated 🤔 |
What happened?
So we're using goreleaser to release https://github.com/SchwarzIT/go-template.
The repo basically contains a template for new Go projects.
It worked fine a few months ago (latest known working version was v1.10.3). So after a while we wanted to release a new version and the pipeline now fails with version v1.12.3.
The error output is:
So I guess some templating feature has been released for filenames?
How can we reproduce this?
git clone git@github.com:SchwarzIT/go-template.git cd go-template goreleaser release --snapshot
goreleaser version
GoReleaser Check
Search
Code of Conduct
Additional context
No response
The text was updated successfully, but these errors were encountered: