Closed vernig closed 3 years ago
@kaiquelupo @bermudezmt I added a GH Action for the automatic release of the the plugin. Have a read to the PR description and let me know what you think. If you like how this works, we can use it for https://github.com/twilio-infra-as-code/twilio-pulumi-provider as well.
:tada: This PR is included in version 0.3.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Add release through GH Actions and semantic-release. This action add:
This pipeline makes use of https://github.com/cycjimmy/semantic-release-action, which, in turn, is based on https://github.com/semantic-release/semantic-release.
The action is triggered every time a push is made on
main
branch (e.g. as result of a PR merge). The action scans the commit(s) and looks for the following keywords in the commit message:fix
: will create a new patch releasefeat
: will create a new minor releasebreaking
: will create a new major release (A full list of keywords can be found here)The commit message should follow Angular Commit Message Conventions, so for example a minor release commit for the
utils
module will look like the following:If the commit isn't supposed to trigger a release, then other keyword (such as
chore
, ordoc
) can be used.This action also include the @semantic-release/changelog which automatically create a changelog that is added as description for the release on the repo.