.releaserc.json
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
"@semantic-release/git",
["@semantic-release/exec",
{
"prepareCmd": "goreleaser build --rm-dist --snapshot; rm -rv dist",
"publishCmd": "goreleaser release --rm-dist"
}
]
],
"preset": "conventionalcommits",
"branches": [
"master"
]
}