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

project: add goreleaser configuration. #374

Merged
merged 2 commits into from
Feb 3, 2020
Merged

Conversation

cpu
Copy link
Member

@cpu cpu commented Jan 29, 2020

Adds configuration for GoReleaser to the project/CI.

Before this will be functional a dedicated Github user with write access to the ZLint repository needs to be created, and an API key saved into the Travis config as a protected env var named GITHUB_AUTH_TOKEN.

By default releases are added to the repository in draft status. This gives maintainers a chance to write the release notes/changelog and verify the build artifacts before publishing the release. Tags with "rc" in the name will be marked as pre-release candidates automatically.

Updates #351

@cpu cpu self-assigned this Jan 29, 2020
@zakird
Copy link
Member

zakird commented Jan 30, 2020

This looks good. I held off merging in case you want to setup user and secret first.

@cpu
Copy link
Member Author

cpu commented Jan 31, 2020

I held off merging in case you want to setup user and secret first.

I've created the user and set up the secret but I'm blocked on Github support removing a "suspicious account" flag on the new user. I can't add it as a collaborator to the repo until that's resolved. I'll merge this once that's sorted out.

@cpu
Copy link
Member Author

cpu commented Feb 3, 2020

I can't add it as a collaborator to the repo until that's resolved. I'll merge this once that's sorted out.

All fixed. I added @zlintbot to the repo such that CI should be able to generate releases.

@cpu cpu merged commit 72fb7ad into zmap:master Feb 3, 2020
@cpu cpu deleted the cpu-goreleaser-config branch February 3, 2020 19:01
@cpu
Copy link
Member Author

cpu commented Feb 11, 2020

I had to fix the name of an env var but the automation worked correctly for the v2.0.0-rc1 tag 🎉

https://travis-ci.org/zmap/zlint/builds/649116718 created a draft release.

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.

2 participants