Running goreleaser #1417
Closed
rupamkhaitan
started this conversation in
Ideas, Issue Triage, and General discussions
Replies: 2 comments 5 replies
-
you should either have everything on the root folder or change your build settings to something like: project_name: cnagent
builds:
-
dir: src
env:
- CGO_ENABLED=0 |
Beta Was this translation helpful? Give feedback.
4 replies
-
Can i use flags property to pass go build tags https://www.digitalocean.com/community/tutorials/customizing-go-binaries-with-build-tags?? flags: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Folks
My project directory structure looks like
myproject
Since I am using go.mod for my pkg namespace and modules and running goreleaser from outside src throws errors
cannot find package "mycompanyname/pkg/agent" in any of:
My .goreleaser.yml is attached
goreleaser.txt
Now when i try to run the project using
goreleaser --snapshot --skip-publish --rm-dist
Beta Was this translation helpful? Give feedback.
All reactions