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

Create a Homebrew recipe to install pgroll #175

Closed
exekias opened this issue Oct 6, 2023 · 4 comments
Closed

Create a Homebrew recipe to install pgroll #175

exekias opened this issue Oct 6, 2023 · 4 comments
Labels
enhancement New feature or request hacktoberfest

Comments

@exekias
Copy link
Member

exekias commented Oct 6, 2023

We can leverage Homebrew in order to make pgroll easier to install. Right now the only options are manually downloading the binary or installing from source.

@exekias exekias added the enhancement New feature or request label Oct 6, 2023
@exekias
Copy link
Member Author

exekias commented Oct 6, 2023

One option could be to integrate https://goreleaser.com/ and do releases with it. It could cover Homebrew, but also cross compiling or docker images

@sFritsch09
Copy link
Contributor

I would like to work on this #hacktoberfest 🚀

@exekias
Copy link
Member Author

exekias commented Oct 8, 2023

awesome! go for it!

@sFritsch09
Copy link
Contributor

PR: #180

andrew-farries added a commit that referenced this issue Oct 13, 2023
I needed to edit the build pipeline because using the build steps for
gorelease you need to have the Pro version:
https://goreleaser.com/customization/builds/#import-pre-built-binaries

Anyway I kept the same binary structure as before and the pipeline is
much shorter with goreleaser now.

✅  Added Homebrew with GoReleaser
✅  Edit build pipeline and tested workflow

In order to let GoRelease push the artefacts you need to add
GITHUB_TOKEN secret:
**The minimum permissions the GITHUB_TOKEN should have to run this are
write:packages**

---------

Co-authored-by: Andrew Farries <andyrb@gmail.com>
Co-authored-by: Andrew Farries <andrew.farries@xata.io>
@exekias exekias closed this as completed Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants