Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Semantic release with github action #161

Open
sebastianbuechler opened this issue Aug 25, 2023 · 2 comments
Open

Semantic release with github action #161

sebastianbuechler opened this issue Aug 25, 2023 · 2 comments
Labels
enhancement New feature or request low priority Issue has low priority question Further information is requested

Comments

@sebastianbuechler
Copy link
Collaborator

It could be helpful to use semantic release (https://github.com/semantic-release/semantic-release) in https://github.com/lomsa-dev/http-mock-adapter/blob/main/.github/workflows/publish.yml

I know from another flutter package that uses also a github action (https://github.com/cycjimmy/semantic-release-action) this way: https://github.com/Stacked-Org/stacked/blob/master/.github/workflows/release.yml

The really cool thing about it is that there's a bot writing to the PRs on which version it is included: Stacked-Org/stacked#963 (comment)

@LukaGiorgadze
Copy link
Member

Seems interesting.. But how does this action know what's breaking change and what's not? I'm curious - how it's doing versioning?

@sebastianbuechler
Copy link
Collaborator Author

It determines the next version number by looking at your commit messages: https://github.com/semantic-release/semantic-release#commit-message-format

The table has examples for each release type (patch/minor/major).

@LukaGiorgadze LukaGiorgadze added low priority Issue has low priority enhancement New feature or request question Further information is requested labels Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low priority Issue has low priority question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants