Skip to content
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

Add path to custom main.go #3

Open
batazor opened this issue Apr 14, 2019 · 0 comments
Open

Add path to custom main.go #3

batazor opened this issue Apr 14, 2019 · 0 comments

Comments

@batazor
Copy link

batazor commented Apr 14, 2019

Add ENV variable CMD_PATH

example:

CMD_PATH = "cmd/hcfc/main.go"

to build.sh

- go build
+ go build $CMD_PATH
sqs added a commit to sqs/go-release.action that referenced this issue Nov 9, 2019
Set the `PACKAGE` env var to release a Go package that is not at the root. For example, to release the executable built from `./cmd/foo`, set `PACKAGE=./cmd/foo`.

Fixes ngs#3.
sqs added a commit to sqs/go-release.action that referenced this issue Nov 9, 2019
Set the `PACKAGE` env var to release a Go package that is not at the root. For example, to release the executable built from `./cmd/foo`, set `PACKAGE=./cmd/foo`.

Fixes ngs#3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant