prettierd icon indicating copy to clipboard operation
prettierd copied to clipboard

Automate GH releases

Open fsouza opened this issue 4 years ago • 3 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 :)

fsouza avatar Oct 15 '21 01:10 fsouza

@fsouza Have you considered running semantic release?

sQVe avatar Oct 15 '21 04:10 sQVe

@fsouza Have you considered running semantic release?

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

fsouza avatar Oct 15 '21 12:10 fsouza

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

sQVe avatar Oct 15 '21 19:10 sQVe

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

fsouza avatar Sep 04 '22 00:09 fsouza

@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!

dkarter avatar Sep 20 '22 20:09 dkarter