Created
June 21, 2021 07:59
-
-
Save zilahir/c36ae37faf794957111f1418b27faf83 to your computer and use it in GitHub Desktop.
semantic-release
This file contains hidden or 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
{ | |
"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