cucumber / polyglot-release

Make polyglot releases with a single command
MIT License
5 stars 1 forks source link

Support Scala #56

Open mpkorstanje opened 2 years ago

mpkorstanje commented 2 years ago

🤔 What's the problem you're trying to solve?

cucumber-jvm-scala uses the GitHub action release process. Supporting it with polyglot-release would help make releases faster/easier and avoid the need for additional documentation.

✨ What's your proposed solution?

Add support for scala with SBT.

A challenge will be that the project also updates some documentation. This is very project specific and wouldn't fit in polyglot release.

https://github.com/cucumber/cucumber-jvm-scala/blob/4c8b706d74df2675f027f28583b062a10476c738/Makefile#L13-L16

↩️ Alternative solution

Do nothing. There is only one scala project and the current setup works.

mattwynne commented 2 years ago

We could add some kind of hooks system so that projects could install their own specific scripts, like a ./polyglot-release/pre-release and a ./polyglot-release/post-release that we look for and run as part of those phases if an executable file is found.