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

Use Goreleaser to publish releases #209

Merged
merged 1 commit into from
Jul 26, 2022
Merged

Use Goreleaser to publish releases #209

merged 1 commit into from
Jul 26, 2022

Conversation

ofalvai
Copy link
Contributor

@ofalvai ofalvai commented Jul 26, 2022

Context

Use Goreleaser for building the release binaries of envman. The current bash scripts and workflows that build and publish the binaries to GitHub are error prone and the entire release workflow is defined at multiple places (bitrise.yml in the repo, Bitrise project of envman, the tooling-control-center project).

This PR simplifies the workflow and defines the entire process as source files in the repo (so that we can keep track of changes)

Changes

  • Create Goreleaser config file as .goreleaser.yml
  • Build arm64 and amd64 binaries for Linux and macOS (just like before)
  • Use Goreleaser to create the changelog and publish a GitHub release. This was previously defined in the tooling-control-center workflow
  • Test the release process in the PR validation workflow by creating a snapshot release (without publishing)

@ofalvai ofalvai closed this Jul 26, 2022
@ofalvai ofalvai reopened this Jul 26, 2022
@ofalvai ofalvai closed this Jul 26, 2022
@ofalvai ofalvai reopened this Jul 26, 2022
@ofalvai ofalvai marked this pull request as ready for review July 26, 2022 11:54
@ofalvai ofalvai merged commit dd41961 into master Jul 26, 2022
@ofalvai ofalvai deleted the goreleaser branch July 26, 2022 12:08
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