Skip to content

Instantly share code, notes, and snippets.

@zilahir
Created June 21, 2021 07:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zilahir/c36ae37faf794957111f1418b27faf83 to your computer and use it in GitHub Desktop.
Save zilahir/c36ae37faf794957111f1418b27faf83 to your computer and use it in GitHub Desktop.
semantic-release
{
"repositoryUrl": "git+ssh://***",
"branches": [
{
"name": "master",
"prerelease": "true"
},
{
"name": "release",
"prerelease": "false"
}
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": {
"name": "conventionalcommits",
"issuePrefixes": ["VACCA-"],
"issueUrlFormat": "https://***/{prefix}{id}"
},
"parserOpts": {
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"]
},
"writerOpts": {
"commitsSort": ["subject", "scope"]
}
}
],
[
"@semantic-release/release-notes-generator",
{
"changelogFile": "./CHANGELOG.md"
}
],
[
"semantic-release-jira-releases",
{
"projectId": "VACCA",
"releaseNameTemplate": "Test v${version}",
"jiraHost": "***.atlassian.net",
"ticketPrefixes": ["VACCA"]
}
],
[
"@semantic-release/changelog",
{
"changelogFile": "./CHANGELOG.md"
}
],
[
"@semantic-release/git",
{
"assets": [
"package.json",
"./src/**/*.{js, scss, css, ts, tsx, json}",
"./CHANGELOG.md"
]
}
]
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment