-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(engineering): add semantic-release
closes #541
- Loading branch information
1 parent
f58e0c4
commit b0fdd41
Showing
3 changed files
with
4,450 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
b0fdd41
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@joaomoreno Wow. Very nice! But you may like to prefix changes like this with
ci
instead offeat
to avoid them triggering a new release (unless you did this on purpose to test the first release with semantic-release).b0fdd41
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did. 😉
b0fdd41
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh ok! :D
BTW, here is an example on how the semantic-release can be configured to achieve some additional things (just in case you want, so you can take as inspiration):
https://github.com/felipecrs/megatar/blob/dbb176d8e2039083e32aae392a559f2838fecce3/release.config.js
Like:
refactor
,perf
andbuild(deps)
as patch versions and add them to the changelogSome additional changes would be required though... like creating a GitHub token with privilege to push directly to
main
(Github Actions' default token does not come with this) and addind conventional-changelog-conventionalcommits as devDependencies.