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

Change how Travis setups and runs goreleaser #26

Merged
merged 1 commit into from
Feb 25, 2019

Conversation

ccressent
Copy link
Contributor

@ccressent ccressent commented Feb 22, 2019

This change is based off the goreleaser manual, see https://goreleaser.com/ci/

While trying to make a new release (3.1.2), Travis' deployment part that uses goreleaser stopped working; the go get github.com/goreleaser/goreleaser command would always fail. This PR changes the way we setup and run goreleaser, based off the goreleaser manual.

The change has been tested by creating a temporary tag (since deleted) to force Travis to run a deployment of this branch. goreleaser was successfully installed and run until it complained that the tag name did not respect semantic versioning. I'm expecting it will just work once I try a proper release with this PR merged.

Before: https://travis-ci.org/sensu/sensu-influxdb-handler/builds/496695795
After: https://travis-ci.org/sensu/sensu-influxdb-handler/builds/496827401

A similar change probably needs to be applied on all our .travis.yml files.

This change is based off the goreleaser manual, see
https://goreleaser.com/ci/

Signed-off-by: Cyril Cressent <[email protected]>
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

Successfully merging this pull request may close these issues.

3 participants