mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-24 04:16:27 +02:00
ce4f2ed431
<!-- Hi, thanks for contributing! Please make sure you read our CONTRIBUTING guide. Also, add tests and the respective documentation changes as well. --> <!-- If applied, this commit will... --> ... <!-- Why is this change being made? --> Even though `^\.?(\.\/[^\/]?.*)?$` was matching with `./cmd/main.go`, I spent ~10m to figure this out why it was complaining. And noticed that, we were returning the same error on different case, which is `HasSuffix` check. Let's clarify the error message a bit for better UX. <!-- # Provide links to any relevant tickets, URLs or other resources --> ... Signed-off-by: Furkan <furkan.turkal@trendyol.com>