go-semantic-release / semantic-release

πŸ“¦πŸš€ semantic-release written in Go
https://go-semantic-release.xyz
MIT License
395 stars 43 forks source link

Documentation and example configs #165

Open DSchmidtDev opened 10 months ago

DSchmidtDev commented 10 months ago

Hi thanks for sharing this tool and it looks quite interesting for us to use it in our daily workflow. I wanted to give it a try and create an example using gitlab ci and python (poetry) project but I am unable to configure it correctly as it lacks of some documentation on how to use the plugin system etc. I tried copying over stuff from the original javascript project but it didn't work.

Do you have some place with examples and more documentation I might missed? :)

Thanks in advance

christophwitzko commented 10 months ago

Hey @DSchmidtDev, thanks for trying out semantic-release and sorry about the incomplete documentation. πŸ™

I remember that a users posted a working setup for GitHub Actions + poetry: https://github.com/go-semantic-release/semantic-release/issues/129#issuecomment-1556122136 You could use semantic-release in combination with the exec hook so you can run you poetry publish script if a new release was created.

If your test project is also open-source I am happy to give it a look. ☺️

Best, Chris

DSchmidtDev commented 10 months ago

Thanks for the fast response and the hints. The poetry example is something similar I tried to do but have no clue what plugins I can use there and how they are configured as there seems no info about the config options etc. The exec hook has some more details in the README but this is not all that can be configured right?

How is semantic-release configured to commit the changes and push them? Unfortunately the project cannot be open-source