faker icon indicating copy to clipboard operation
faker copied to clipboard

Automate RubyGems release using CI workflow

Open vbrazo opened this issue 3 years ago • 3 comments

Is your feature request related to a problem? Please describe it.

Right now, we need to do manual releases using the gem build faker.gemspec and gem push faker-2.23.0.

We'd like to automate this workflow and once we create a GitHub release/tag, the version should be released automatically.

vbrazo avatar Sep 01 '22 19:09 vbrazo

here's an example of a github action to publish a gem: https://github.com/patch-technology/patch-ruby/blob/main/.github/workflows/publish.yml

thdaraujo avatar Sep 01 '22 19:09 thdaraujo

Sounds interesting, shall I take this up?

sudeeptarlekar avatar Sep 14 '22 19:09 sudeeptarlekar

yup, thanks @sudeeptarlekar !

thdaraujo avatar Sep 15 '22 16:09 thdaraujo

hey @sudeeptarlekar are you still interested in working on this one? If not, I can let someone else take it as part of hacktoberfest. 😊

thdaraujo avatar Oct 06 '22 15:10 thdaraujo

Yeah, but anyone wants to take this up, feel free to assign this to them. I added PR for work I did till now for reference.

sudeeptarlekar avatar Oct 07 '22 08:10 sudeeptarlekar

@thdaraujo I'd like to take this up. @sudeeptarlekar Can you give me an idea on what you've done so far? It's my first time writing an action. :)

bijoysijo avatar Oct 07 '22 11:10 bijoysijo

I've only made a minor change to @sudeeptarlekar 's PR. Do let me know if there is something more to be done.

bijoysijo avatar Oct 07 '22 13:10 bijoysijo

thanks @sudeeptarlekar for working on this and sharing your draft PR, and thanks @bijoysijo for helping!

thdaraujo avatar Oct 07 '22 21:10 thdaraujo