-
Notifications
You must be signed in to change notification settings - Fork 3
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 Goreleaser #24
Add Goreleaser #24
Conversation
Makefile
Outdated
@@ -1,7 +1,7 @@ | |||
.PHONY: build test | |||
|
|||
build: | |||
go build -o conduit-connector-generator cmd/generator/main.go | |||
go build -ldflags "-X 'github.com/conduitio-labs/conduit-connector-generator.version=${VERSION}'" -o conduit-connector-algolia cmd/connector/main.go |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
conduitio-labs and algolia ^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh man, I'm really bad at this 🙈
.goreleaser.yml
Outdated
env: | ||
- CGO_ENABLED=0 | ||
ldflags: | ||
- "-s -w -X 'github.com/conduitio-labs/conduit-connector-generator.version={{ .Tag }}'" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
conduitio-labs ^
This PR adds a goreleaser github action which releases the connector when a semantic version tag is pushed.