goreleaser: NFPMS build fails on windows
Describe the bug
On windows the build fails with:
release failed after 9.09s error=invalid nfpm config: matching "C:devgopathsrcgithub.comlobaromy-projectbuildmy-project_linux_amd64my-project": file does not exist
To Reproduce
Steps to reproduce the behavior:
nfpms:
- id: default
builds:
- my-project
formats:
- deb
Additional context Works in CI on linux
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 18 (13 by maintainers)
I can confirm it now builds successfully on Windows.
FYI: I’m going to disable goreleaser on windows and mac (linux will remain as-is for now) and will switch to makefile script on those platforms.
https://github.com/kopia/kopia/pull/861