elixir-protobuf / google-protos

Elixir files generated from Google's protobuf files using protobuf-elixir
MIT License
16 stars 21 forks source link

Add release job #14

Closed yordis closed 2 years ago

yordis commented 2 years ago

Context

Allows releasing the package from CI.

Requirements

HEX_API_KEY GitHub Secret to be set up, https://github.com/straw-hat-team/github-actions-workflows/tree/master/elixir/publish#add-a-hex-api-key-to-github-secrets

How does it work?

When a new release is published, it will try to release a new version to Hex.

yordis commented 2 years ago

@ericmj, this should help with maintaining the packages; if you set up the HEX_API_KEY once, you can leverage the CI pipeline and let the core maintainers be able to release the package. It can be done in the protobuf package as well.

Please help 🙏🏻, we need a release of this package 🙏🏻

tony612 commented 2 years ago

I can help with adding the key and env. But I may need @whatyouhide or someone else's reviewing given I'm not maintaining Protobuf related projects for a long time.

yordis commented 2 years ago

@tony612 adding the HEX_API_KEY will allow them to cut a release by creating a GitHub Release, or it could be modified to use tag creation instead.

So it will help for sure.