fsouza/prettierd

Automate GH releases

fsouza opened this issue · 5 comments

Idea is that when we push a tag, we'd use GH Actions to create the GitHub release.

Could use GitHub's new API for generating the description!

I assume there's already some GH action ready for this :)

sQVe commented

@fsouza Have you considered running semantic release?

@fsouza Have you considered running semantic release?

Hey, I'm not familiar with that. Is it a process or some specific tool?

sQVe commented

You basically write commits in a specific way, generally adhere to the conventional commits standard, and that automates everything. You can add multiple plugins that does releases, changelogs, publish, updating issues with release info and etc.

You can read more at: https://github.com/semantic-release/semantic-release

I'll close this for now. Can always revisit later.

@fsouza I have automatic releases set up on my dotfiles repo if you want to take a look at an example. I also use that same method at work on a few projects and it really changed the way I work for the better by automating a changelog, forcing smaller / more atomic commits and semantically versioning my code + github releases.

Here's the repo for reference:
https://github.com/dkarter/dotfiles

It uses Release Please by Google + the accompanying Github Action.

If you have any questions on this I'll be happy to help!